EmfPolyPolygon Class

Summary: The EMR_POLYPOLYGON record specifies a series of closed polygons.

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

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

Inheritance: EmfDrawingRecordType

Aspose.Imaging Version: 24.6.0

Constructors

NameDescription
EmfPolyPolygon()Initializes a new instance of the EmfPolyPolygon class.
EmfPolyPolygon(source)Initializes a new instance of the EmfPolyPolygon 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 points for all polygons in logical units. The number of points is specified by the
Count field value.
boundsRectangler/wGets or sets a 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: EmfPolyPolygon()

 EmfPolyPolygon() 

Initializes a new instance of the EmfPolyPolygon class.

Constructor: EmfPolyPolygon(source)

 EmfPolyPolygon(source) 

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