User Tools

Site Tools


api:dk11:delphi:gisviewer.tgis_viewer.isempty

Table of Contents

TGIS_Viewer.IsEmpty property

DK for Delphi | GisViewer.TGIS_Viewer.IsEmpty | Constructors | Fields | Methods | Properties | Events | Events

True if the viewer is empty and contains no layers.

Available also on: .NET | Java | ActiveX | Python.

Syntax

// Delphi
public
  property IsEmpty : Boolean read;
// C++ Builder
public:
  __property bool IsEmpty = {read};

Value

Type
Boolean

Remarks

USAGE: Check if viewer has any layers loaded. Returns true when no layers added yet. Use for UI state or initialization checks.

if gis.IsEmpty
  # Viewer has no data, show empty message

References

2026/09/20 23:49

Page Tools