EmfPaintRgn Class
Contents
[
Hide
]Summary: The EMR_PAINTRGN record paints the specified region by using the brush currently selected into the
playback device context.
Module: aspose.imaging.fileformats.emf.emf.records
Full Name: aspose.imaging.fileformats.emf.emf.records.EmfPaintRgn
Inheritance: EmfDrawingRecordType
Constructors
| Name | Description | 
|---|---|
| EmfPaintRgn() | Initializes a new instance of the EmfPaintRgn class. | 
| EmfPaintRgn(source) | Initializes a new instance of the EmfPaintRgn class. | 
Properties
| Name | Type | Access | Description | 
|---|---|---|---|
| bounds | Rectangle | r/w | Gets or sets a 128-bit WMF RectL object, specified in [MS-WMF] section 2.2.2.19, which specifies the bounding rectangle.  | 
| rgn_data | EmfRegionData | r/w | Gets or sets a RgnDataSize length array of bytes that specifies a RegionData (section 2.2.24) object, in logical units.  | 
| rgn_data_size | int | r/w | Gets or sets a 32-bit unsigned integer that specifies the size of region data, in bytes. | 
| 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: EmfPaintRgn()
 EmfPaintRgn() 
Initializes a new instance of the EmfPaintRgn class.
Constructor: EmfPaintRgn(source)
 EmfPaintRgn(source) 
Initializes a new instance of the EmfPaintRgn 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 |