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: EmfPolyShape

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 an array of WMF PointL objects ([MS-WMF] section 2.2.2.15) that specifies the point data, in logical units.
boundsRectangler/wGets or sets an 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: 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