Skip to main content

TdxMapItemFileLayer.Active Property

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

Declaration

property Active: Boolean read; write; default False;

Property Value

Type Default
Boolean False

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