.netCHARTING v10.7 Documentation


PaletteName Property (MapLayer)
Gets or sets a Palette enumeration that indicates which static palette will be used by the shapes of this MapLayer.

Syntax
'Declaration
 
Public Property PaletteName As Palette
'Usage
 
Dim instance As MapLayer
Dim value As Palette
 
instance.PaletteName = value
 
value = instance.PaletteName
public Palette PaletteName {get; set;}
Remarks
When setting this property, each shape will get it's own color. Whereas by default, all shapes within a mapLayer take their color from MapLayer.DefaultShape.Background.Color.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also