Back to Devexpress

TdxMapItemFileLayer.Active Property

vcl-dxmapitemfilelayer-dot-tdxmapitemfilelayer-aa9f1e46.md

latest1.3 KB
Original Source

TdxMapItemFileLayer.Active Property

Makes the layer’s map items available for display in a map control.

Declaration

delphi
property Active: Boolean read; write; default False;

Property Value

TypeDefault
BooleanFalse

Remarks

Set this property to True to:

  • Load map items from the file specified using the FileType and FileName properties. If an exception occurs during this operation, the Active property value remains unchanged ( False ) and the layer’s MapItems collection is cleared;

  • Make the loaded map items available for display in a map control.

Setting the Active property to False clears the layer’s MapItems collection.

The default value of the Active property is False.

See Also

TdxMapItemFileLayer Class

TdxMapItemFileLayer Members

dxMapItemFileLayer Unit