PictureFillSymbol
Base Type: FillSymbol
A class for a fill symbol based on either a BMP or an EMF picture.
Property |
Type |
Description |
---|---|---|
Angle |
double |
The angle of picture fill. |
AngleSpecified |
bool |
Indicates if Angle is specified. |
BgColor |
The fill background color. | |
BitmapTransColor |
The color within bitmap indicating transparency. | |
FgColor |
Not in use. | |
Height |
double |
Not in use. |
HeightSpecified |
bool |
Not in use. |
Picture |
byte[] |
Picture used for marker symbol. |
PictureUri |
string |
URL to the picture used for marker symbol. |
Swap1BitColor |
bool |
Indicates if the 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. |
XOffset |
double |
The fill offset along X-axis. |
XOffsetSpecified |
bool |
Indicates if XOffset is specified. |
XScale |
double |
The scale of the picture fill along X-axis. |
XSeparation |
double |
The fill element separation along X-axis. |
XSeparationSpecified |
bool |
Indicates if XSeparation is specified. |
YOffset |
double |
The fill offset along Y-axis. |
YOffsetSpecified |
bool |
Indicates if YOffset is specified. |
YScale |
double |
The scale of the picture fill along Y-axis. |
YSeparation |
double |
The fill element separation along Y-axis. |
YSeparationSpecified |
bool |
Indicates if YSeparation is specified. |
Remarks
Once a picture is set, the other properties can be set to adjust the appearance and pattern of the picture within the fill. The Picture is repeated on a grid, starting at the top left of the geometry to which the fill is applied. The angle of the grid can be adjusted by setting the Angle property. A value of 45 will rotate the grid 45 degrees clockwise.
You can display the picture 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.
You can stretch the Picture in size by setting the XScale and YScale properties. For example, to make each picture in the fill twice as big as the original, set both properties to 2. They can be less than 1 to shrink the original image.
XSeparation and YSeparation properties refer to the separation from the edge of one picture to the start of another. A separation of 0 will result in contiguous picture fill. Values form XOffset and YOffset can be negative or positive number; positive numbers indicate an offset above and to the right of the feature, and negative numbers indicate an offset below and to the left. The units of these properties are points (about 1/7 of an inch).