EmfPolygon Class
Contents
[
Hide
]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: EmfPolyShape
Constructors
Name | Description |
---|---|
EmfPolygon() | Initializes a new instance of the EmfPolygon class. |
EmfPolygon(source) | Initializes a new instance of the EmfPolygon class. |
Properties
Name | Type | Access | Description |
---|---|---|---|
a_points | Point[] | r/w | Gets or sets an array of WMF PointL objects ([MS-WMF] section 2.2.2.15) that specifies the point data, in logical units. |
bounds | Rectangle | r/w | Gets or sets an 128-bit WMF RectL object ([MS-WMF] section 2.2.2.19) that specifies the bounding rectangle, in device units. |
size | int | r/w | Gets or sets the size of the record |
type | EmfRecordType | r/w | Gets or sets the type. |
Methods
Name | Description |
---|---|
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:
Parameter | Type | Description |
---|---|---|
source | EmfRecord | The source. |
Method: create_from_record(source) [static]
create_from_record(source)
Initializes a new instance of the EmfRecord class.
Parameters:
Parameter | Type | Description |
---|---|---|
source | EmfRecord | The source. |
Returns
Type | Description |
---|---|
EmfRecord |
Method: create_from_type(type) [static]
create_from_type(type)
Initializes a new instance of the EmfRecord class.
Parameters:
Parameter | Type | Description |
---|---|---|
type | EmfRecordType | The record type. |
Returns
Type | Description |
---|---|
EmfRecord |