PictureMarkerSymbol

Base Type: CartographicMarkerSymbol

A class for a marker symbol based on either a BMP or an EMF picture.

Property

Type

Description

BgColor

Color

Background color of the picture.

BitmapTransColor

Color

Color within the bitmap indicating transparency.

FgColor

Color

Not in use.

Picture

byte[]

Picture used for marker symbol.

PictureUri

string

URL to the picture used for marker symbol.

Swap1BitColor

bool

Indicates if foreground and background colors are swapped on 1 Bit Images Only.

Swap1BitColorSpecified

bool

Indicates if Swap1BitColor is specified.

Width

double

Not in use.

WidthSpecified

bool

Not in use.

Remarks

It inherits all properties from MarkerSymbol.

You can display the marker without its background by setting BitmapTransColor property to the color of the background fill. You can decide to fill in any unfilled areas of your picture with a different color by setting the BgColor property.

XScale and YScale properties allow the symbol to be stretched, for example, an XScale of 2 indicates the symbol is stretched to twice of its original width.

11/8/2016