The IEPolylineLayer type exposes the following properties.

Properties

 Public

 Protected
 Instance

 Static
 Declared

 Inherited
 XNA Framework Only

 .NET Compact Framework Only

 MemberDescription
AlphaEdgeFeathering

If the layer has an alpha channel then edges of the image will be "feathered." Feathering softens the edges of an image by applying alpha transparency at a rate that is proportional to the distance to the edge (specifically, adding a gradient in the alpha channel).

The value (0 to 255) indicates the depth in pixels of the feather effect.

Default: 0 (no edge feathering)

(Inherited from IELayer.)
Antialias
Improves the quality of layer drawing by using anti-aliasing.
(Inherited from IELayer.)
AspectRatioLocked
When enabled the PreferredAspectRatio for the layer will be enforced regardless of the setting for LayersResizeAspectRatio.
(Inherited from IELayer.)
BorderColor
Provides generic access to the color of the border/line of the layer.
(Inherited from IELayer.)
BorderWidth
Provides generic access to the width of the border/line of the layer.
(Inherited from IELayer.)
Cropped

If true and the layer is out of background image (layer 0) area, this layer will be cut to the background.

(Inherited from IELayer.)
DrawOuter
If True draws unselected layers as 'grayed'. The selected layer is drawn normally.
(Inherited from IELayer.)
FillColor
Provides generic access to the fill color of the layer. Set to ARGB of (0, 0, 0, 0) for no fill (i.e. transparent background)
(Inherited from IELayer.)
FillColor2

Provides generic access to the secondary gradient fill color of the layer.

If FillColor2 is different from FillColor it is drawn as a gradient (and not set to ARGB of (0, 0, 0, 0)).

The direction of the gradient is specified by FillGradient.

(Inherited from IELayer.)
FillGradient
Provides generic access to the gradient fill direction for the layer.
(Inherited from IELayer.)
FillOpacity

Set the opacity of the layer fill.

This value is a percentage of the layer's opacity. I.e. if FillOpacity is 0.5, and Opacity is 0.5, then the fill's actual opacity will be 0.25.

(Inherited from IELayer.)
GroupIndex

Specifies the Group ID of the layer. When a layer is selected all other layers with the same group ID are automatically selected too.

GroupIndex can be any value. A GroupIndex of 0 means the layer is not grouped.

Note: GroupIndex is only valid if multiple layer selection is enabled.

(Inherited from IELayer.)
Height
Specifies the layer size (i.e. display height when zoom is 100%).
(Inherited from IELayer.)
IsMask

If True this is a layer mask.

A layer mask contains a gray scale image (ie8g) which is connected to the upper layer.

The layer mask specifies where the upper layer is visible (255=fully visible).

A layer mask should be invisible (Visible=False).

(Inherited from IELayer.)
Kind
Kind of layer
(Inherited from IELayer.)
LineColor
The color of the polyline. Default: Black
LineWidth
The width of the polyline. Default: 1
Locked

If False user can move or resize the layer. Also this enables to show the layer border and resizing grips.

(Inherited from IELayer.)
MagnifyEnabled

If true this is a magnify layer.

The bitmap of the layer is filled with the background zoomed according to MagnifyRate property.

This property doesn’t apply to layer 0.

(Inherited from IELayer.)
MagnifyRate

Specify the rate of the magnify layer (magnification).

Allowed values greather than 1.

Valid only if MagnifyEnabled=True.

This property doesn’t apply to layer 0.

(Inherited from IELayer.)
MagnifySource

Specifies the magnify layer source.

It can be IEMagnifySource.BackgroundLayer to get data from the background layer and IEMagnifySource.Canvas to get data from the painted background. If you want the magnify the layer 0 image, getting pixels directly from the bitmap use IEMagnifySource.BackgroundLayer.

(Inherited from IELayer.)
MagnifyStyle

Specify the magnify layer shape.

It can be Rectangle or Ellipse. Valid only if MagnifyEnabled=True.

This property doesn’t apply to layer 0.

(Inherited from IELayer.)
Modified
Returns true if the layer has been changed since it was created or loaded.
(Inherited from IELayer.)
Name
Specifies an user assignable name.
(Inherited from IELayer.)
Opacity
Set the overall opacity of the layer in the range from 0.0 (fully transparent) to 1.0 (totally opaque). Use Opacity instead of Transparency when the image has an alpha channel.
(Inherited from IELayer.)
Operation
Specify the operation to execute between this layer and the background layer.
(Inherited from IELayer.)
PointCount
Returns the count of points of the polyline. Use Points to obtain the coordinates of point that compose the Polyline.
PolylineClosed

Set PolylineClosed to True to connect the first and final points of the polyline. This will create a polygon.

If the polygon is closed it will be filled using FillColor.

Default: False

PosX
Specifies the horizontal position of the layer relative to the background image (layer 0).
(Inherited from IELayer.)
PosY
Specifies the vertical position of the layer relative to the background image (layer 0).
(Inherited from IELayer.)
ResampleFilter
Actived only when UseResampleFilter is true this property specifies a resample filter to use instead of default one (ZoomFilter).
(Inherited from IELayer.)
Rotate

Specifies the layer rotation angle in degrees.

It is not allowed Rotation and Resize in the same time.

To allow resize after a layer rotation, it must be maked effective, actually rotate the bitmap.

Viceversa to allow rotation after a resize, the resizing must be effective, actually resizing the bitmap.

To make effective layer rotation call IEImage.LayersFixRotations.

To make effective layer resizing call IEImage.LayersFixSizes.

Finally, multiple rotations can cause the bitmap add external, transparent, border. To remove this border call IEImage.LayersFixBorders.

When rotations are handled by IEViewer (setting EnableRotateLayers), you don't need to call LayersFixRotations, LayersFixSizes and LayersFixBorders.

(Inherited from IELayer.)
RotateCenterX

Specifies the horizontal rotation center, in percentage of layer size.

0.5 means center (default), while 0 is left side and 1 is right side.

Also allowed values out of 0..1 range.

This value (and RotateCenterY) is modified when user moves the central grip, when layers rotation is active.

(Inherited from IELayer.)
RotateCenterY

Specifies the vertical rotation center, in percentage of layer size.

0.5 means center (default), while 0 is top side and 1 is bottom side.

Also allowed values out of 0..1 range.

This value (and RotateCenterX) is modified when user moves the central grip, when layers rotation is active.

(Inherited from IELayer.)
Selectable
Allows the layer to be selectable (the default).
(Inherited from IELayer.)
Selected
True if the layer is currently selected.
(Inherited from IELayer.)
Shadow

Enables and sets the properties of the layer shadow.

Note: Shadows cannot be enabled for the background layer (layer 0).

(Inherited from IELayer.)
Tag
An integer value that you can use for your own purposes.
(Inherited from IELayer.)
Transparency
Allows to set the overall transparency of the layer (255=opaque….0=transparent)
(Inherited from IELayer.)
UseResampleFilter
This property actives the value specified in ResampleFilter.
(Inherited from IELayer.)
Visible
Set to True to make the layer visible, otherwise set to False to hide it.
(Inherited from IELayer.)
VisibleBox
If True, a box around the layer will be displayed.
(Inherited from IELayer.)
Width
Specifies the layer size (i.e. display width when zoom is 100%).
(Inherited from IELayer.)

See Also