EmfExtSelectClipRgn
Inheritance: java.lang.Object, com.aspose.imaging.fileformats.emf.MetaObject, com.aspose.imaging.fileformats.emf.emf.records.EmfRecord, com.aspose.imaging.fileformats.emf.emf.records.EmfClippingRecordType
public final class EmfExtSelectClipRgn extends EmfClippingRecordType
The EMR_EXTSELECTCLIPRGN record combines the specified region with the current clip region using the specified mode. Note Fields that are not described in this section are specified in section 2.3.2.
Constructors
| Constructor | Description |
|---|---|
| EmfExtSelectClipRgn(EmfRecord source) | Initializes a new instance of the EmfExtSelectClipRgn class. |
| EmfExtSelectClipRgn() | Initializes a new instance of the EmfExtSelectClipRgn class. |
Methods
| Method | Description |
|---|---|
| getRgnDataSize() | Gets or sets a 32-bit unsigned integer that specifies the size of region data in bytes. |
| setRgnDataSize(int value) | Gets or sets a 32-bit unsigned integer that specifies the size of region data in bytes. |
| getRegionMode() | Gets or sets a 32-bit unsigned integer that specifies the way to use the region. |
| setRegionMode(int value) | Gets or sets a 32-bit unsigned integer that specifies the way to use the region. |
| getRgnData() | Gets or sets a RgnDataSize length array of bytes that specifies a RegionData object in logical units. |
| setRgnData(EmfRegionData value) | Gets or sets a RgnDataSize length array of bytes that specifies a RegionData object in logical units. |
EmfExtSelectClipRgn(EmfRecord source)
public EmfExtSelectClipRgn(EmfRecord source)
Initializes a new instance of the EmfExtSelectClipRgn class.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| source | EmfRecord | The source. |
EmfExtSelectClipRgn()
public EmfExtSelectClipRgn()
Initializes a new instance of the EmfExtSelectClipRgn class.
getRgnDataSize()
public int getRgnDataSize()
Gets or sets a 32-bit unsigned integer that specifies the size of region data in bytes.
Returns: int
setRgnDataSize(int value)
public void setRgnDataSize(int value)
Gets or sets a 32-bit unsigned integer that specifies the size of region data in bytes.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int |
getRegionMode()
public int getRegionMode()
Gets or sets a 32-bit unsigned integer that specifies the way to use the region. The value MUST be in the RegionMode (section 2.1.29) enumeration.
Returns: int
setRegionMode(int value)
public void setRegionMode(int value)
Gets or sets a 32-bit unsigned integer that specifies the way to use the region. The value MUST be in the RegionMode (section 2.1.29) enumeration.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int |
getRgnData()
public EmfRegionData getRgnData()
Gets or sets a RgnDataSize length array of bytes that specifies a RegionData object in logical units. If RegionMode is RGN_COPY, this data can be omitted and the clip region SHOULD be set to the default (NULL) clip region.
Returns: EmfRegionData
setRgnData(EmfRegionData value)
public void setRgnData(EmfRegionData value)
Gets or sets a RgnDataSize length array of bytes that specifies a RegionData object in logical units. If RegionMode is RGN_COPY, this data can be omitted and the clip region SHOULD be set to the default (NULL) clip region.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | EmfRegionData |