DK for .NET | TatukGIS.NDK.IGIS_Viewer.AutoStyle | Methods | Properties
If True, layers added to the viewer will have a unique style applied. Default is False.
// C# public Boolean AutoStyle { get {} }
' VisualBasic Public Property AutoStyle As Boolean Get End Get End Property
// Oxygene public property AutoStyle : Boolean read;
| Type |
|---|
| bool Boolean |
USAGE: Enable automatic unique styling for added layers. When true, each layer gets distinct colors for visibility. Works only with layers that support auto-styling.
gis.AutoStyle = true gis.Add(layer) # Layer automatically styled with unique colors