EmfPolygon16 Class

Summary: The EMR_POLYGON16 record specifies a polygon consisting of two or more vertexes connected by
straight lines. The polygon is outlined by using the current pen and filled by using the current brush
and polygon fill mode. The polygon is closed automatically by drawing a line from the last vertex to the first.

Module: aspose.imaging.fileformats.emf.emf.records

Full Name: aspose.imaging.fileformats.emf.emf.records.EmfPolygon16

Inheritance: EmfDrawingRecordType

Aspose.Imaging Version: 24.5.0

Constructors

NameDescription
EmfPolygon16()Initializes a new instance of the EmfPolygon16 class.
EmfPolygon16(source)Initializes a new instance of the EmfPolygon16 class.

Properties

NameTypeAccessDescription
a_pointsPoint[]r/wGets or sets a Count length array of WMF PointS objects, specified in [MS-WMF]
section 2.2.2.16, which specifies the array of points.
boundsRectangler/wGets or sets a 128-bit WMF RectL object, specified in [MS-WMF] section 2.2.2.19,
which specifies the bounding rectangle, in device units.
sizeintr/wGets or sets the size of the record
typeEmfRecordTyper/wGets or sets the type.

Methods

NameDescription
create_from_record(source)Initializes a new instance of the EmfRecord class.
create_from_type(type)Initializes a new instance of the EmfRecord class.

Constructor: EmfPolygon16()

 EmfPolygon16() 

Initializes a new instance of the EmfPolygon16 class.

Constructor: EmfPolygon16(source)

 EmfPolygon16(source) 

Initializes a new instance of the EmfPolygon16 class.

Parameters:

ParameterTypeDescription
sourceEmfRecordThe source.

Method: create_from_record(source) [static]

 create_from_record(source) 

Initializes a new instance of the EmfRecord class.

Parameters:

ParameterTypeDescription
sourceEmfRecordThe source.

Returns

TypeDescription
EmfRecord

Method: create_from_type(type) [static]

 create_from_type(type) 

Initializes a new instance of the EmfRecord class.

Parameters:

ParameterTypeDescription
typeEmfRecordTypeThe record type.

Returns

TypeDescription
EmfRecord