EmfSelectObject
Inheritance: java.lang.Object, com.aspose.imaging.fileformats.emf.MetaObject, com.aspose.imaging.fileformats.emf.emf.records.EmfRecord
public final class EmfSelectObject extends EmfRecord
The EMR_SELECTOBJECT record adds a graphics object to the current metafile playback device context. The object is specified either by its index in the EMF Object Table(section 3.1.1.1) or by its value from the StockObject enumeration(section 2.1.31).
Constructors
Constructor | Description |
---|---|
EmfSelectObject(EmfRecord record) | Initializes a new instance of the EmfSelectObject class. |
EmfSelectObject() | Initializes a new instance of the EmfSelectObject class. |
Methods
Method | Description |
---|---|
getObjectHandle() | Gets or sets 32-bit unsigned integer that specifies either the index of a graphics object in the EMF Object Table or the index of a stock object from the Consts.EmfStockObject enumeration. |
setObjectHandle(int value) | Gets or sets 32-bit unsigned integer that specifies either the index of a graphics object in the EMF Object Table or the index of a stock object from the Consts.EmfStockObject enumeration. |
EmfSelectObject(EmfRecord record)
public EmfSelectObject(EmfRecord record)
Initializes a new instance of the EmfSelectObject
class.
Parameters:
Parameter | Type | Description |
---|---|---|
record | EmfRecord | The record. |
EmfSelectObject()
public EmfSelectObject()
Initializes a new instance of the EmfSelectObject
class.
getObjectHandle()
public int getObjectHandle()
Gets or sets 32-bit unsigned integer that specifies either the index of a graphics object in the EMF Object Table or the index of a stock object from the Consts.EmfStockObject
enumeration.
Returns: int
setObjectHandle(int value)
public void setObjectHandle(int value)
Gets or sets 32-bit unsigned integer that specifies either the index of a graphics object in the EMF Object Table or the index of a stock object from the Consts.EmfStockObject
enumeration.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |