EmfPolygon Class

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

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

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

Inheritance: EmfDrawingRecordType

Aspose.Imaging Version: 24.5.0

Constructors

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

Properties

NameTypeAccessDescription
a_pointsPoint[]r/wGets 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.
boundsRectangler/wGets or sets a 128-bit WMF RectL object ([MS-WMF] section 2.2.2.19) that 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: EmfPolygon()

 EmfPolygon() 

Initializes a new instance of the EmfPolygon class.

Constructor: EmfPolygon(source)

 EmfPolygon(source) 

Initializes a new instance of the EmfPolygon 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