DK11 for Delphi | GisLayerVector.TGIS_LayerVector.Scope | Constructors | Fields | Methods | Properties | Events | Events
Scope zone.
// Delphi public property Scope : String read write;
// C++ Builder public: __property UnicodeString Scope = {read, write};
Type |
---|
String |
Use this property as a SQL-like query (WHERE clause) to limit active layer objects. Treat is as a filter.
Here is example how to limit processed shapes by using Scope property.
var layerObj : TGIS_LayerVector ; procedure MyClass.FormCreate(); begin // create a layer layerObj := TGIS_LayerVector.Create ; layerObj.Name := 'output' ; layerObj.Params.Area.Color := clRed ; // add it to the viewer GIS.Add( layerObj ) ; // limit dataset by using scope layerObj.Scope:='name<>output'; GIS.FullExtent ; end;