EmfPolygon

EmfPolygon class

The EMR_POLYGON record specifies a polygon consisting of two or more vertexes connected by straight lines.

public sealed class EmfPolygon : EmfDrawingRecordType

Constructors

NameDescription
EmfPolygon()Initializes a new instance of the EmfPolygon class.
EmfPolygon(EmfRecord)Initializes a new instance of the EmfPolygon class.

Properties

NameDescription
APoints { get; set; }Gets or sets a Count length array of WMF PointL objects ([MS-WMF] section 2.2.2.15) that specifies the vertexes of the polygon in logical units.
Bounds { get; set; }Gets or sets a 128-bit WMF RectL object ([MS-WMF] section 2.2.2.19) that specifies the bounding rectangle in device units.
Size { get; set; }Gets or sets the size of the record
Type { get; set; }Gets or sets the type.

Remarks

The polygon SHOULD be outlined using the current pen and filled using the current brush and polygon fill mode. The polygon SHOULD be closed automatically by drawing a line from the last vertex to the first

See Also