EmfPlusRestore
Inheritance: java.lang.Object, com.aspose.imaging.fileformats.emf.MetaObject, com.aspose.imaging.fileformats.emf.emfplus.records.EmfPlusRecord, com.aspose.imaging.fileformats.emf.emfplus.records.EmfPlusStateRecordType
public final class EmfPlusRestore extends EmfPlusStateRecordType
The EmfPlusRestore record restores the graphics state, identified by a specified index, from a stack of saved graphics states.
Constructors
| Constructor | Description |
|---|---|
| EmfPlusRestore(EmfPlusRecord source) | Initializes a new instance of the EmfPlusRestore class. |
Methods
| Method | Description |
|---|---|
| getStackIndex() | Gets or sets a 32-bit unsigned integer that specifies the level associated with a graphics state. |
| setStackIndex(int value) | Gets or sets a 32-bit unsigned integer that specifies the level associated with a graphics state. |
EmfPlusRestore(EmfPlusRecord source)
public EmfPlusRestore(EmfPlusRecord source)
Initializes a new instance of the EmfPlusRestore class.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| source | EmfPlusRecord | The source. |
getStackIndex()
public int getStackIndex()
Gets or sets a 32-bit unsigned integer that specifies the level associated with a graphics state. The level value was assigned to the graphics state by a previous EmfPlusSave record (section 2.3.7.5).
Value: The index of the stack.
Returns: int
setStackIndex(int value)
public void setStackIndex(int value)
Gets or sets a 32-bit unsigned integer that specifies the level associated with a graphics state. The level value was assigned to the graphics state by a previous EmfPlusSave record (section 2.3.7.5).
Value: The index of the stack.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int |