The Symbol class consists of attributes that control how to represent features.


Namespace: AspMap
Assembly: AspMapNET (in AspMapNET.dll)

Syntax

Visual Basic (Declaration)
Public Class Symbol
C#
public class Symbol
C++
ref class Symbol
J#
public class Symbol
JScript
public class Symbol

Remarks

Depending on the kind of feature (layer) you're working with, you can specify the particular style and attributes of the Symbol.

For example, you can specify the interior color and fill pattern of a polygon with the FillColor, and FillStyle properties. The outline color and style of a line are programmable with the LineStyle and LineColor properties. The style of a point is programmable with the PointStyle, LineColor and FillColor properties. Line width, point size are controlled with the Size property.

By setting the FillStyle to the FillStyle.Bitmap constant, you can use the Bitmap property to add a bitmap texture as the interior fill pattern of a polygon. Similarly, by setting the PointStyle to the PointStyle.Bitmap constant, you can use the Bitmap property to symbolize a point with a custom bitmap symbol.

By setting the PointStyle property to the PointStyle.Font constant, you can use the PointFont property to specify a font of the point. The CharIndex property is used to specify a particular character code of the font.

Inheritance Hierarchy

System.Object
   AspMap.Symbol

Thread Safety

Public static (Shared in Visual Basic)staticShared members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

See Also