public final class EmfSetColorSpace extends EmfObjectManipulationRecordType
The EMR_SETCOLORSPACE record defines the current logical color space object for graphics operations.
The logical color space object defined by this record MUST be used in drawing operations that are specified by subsequent EMF records, until either a different logical color space object is specified by another EMR_SETCOLORSPACE record, or the object is removed by a EMR_DELETECOLORSPACE record.
Constructor and Description |
---|
EmfSetColorSpace(EmfRecord source)
Initializes a new instance of the
EmfSetColorSpace class. |
Modifier and Type | Method and Description |
---|---|
int |
getIhCS()
Gets or sets a 32-bit unsigned integer that specifies the index of a logical color space object
in the EMF Object Table (section 3.1.1.1).
|
void |
setIhCS(int value)
Gets or sets a 32-bit unsigned integer that specifies the index of a logical color space object
in the EMF Object Table (section 3.1.1.1).
|
public EmfSetColorSpace(EmfRecord source)
Initializes a new instance of the EmfSetColorSpace
class.
source
- The source.public int getIhCS()
Gets or sets a 32-bit unsigned integer that specifies the index of a logical color space object in the EMF Object Table (section 3.1.1.1).
This object is either a WMF LogColorSpace or LogColorSpaceW object ([MS-WMF] sections 2.2.2.11 and 2.2.2.12, respectively).
public void setIhCS(int value)
Gets or sets a 32-bit unsigned integer that specifies the index of a logical color space object in the EMF Object Table (section 3.1.1.1).
This object is either a WMF LogColorSpace or LogColorSpaceW object ([MS-WMF] sections 2.2.2.11 and 2.2.2.12, respectively).