EmfCreateColorSpace
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.EmfObjectCreationRecordType
public final class EmfCreateColorSpace extends EmfObjectCreationRecordType
The EMR_CREATECOLORSPACE record creates a logical color space object from a color profile with a name consisting of ASCII characters.
The logical color space object defined by this record can be selected into the playback device context by an EMR_SETCOLORSPACE record (section 2.3.8.7), which defines the logical color space to use in subsequent graphics operations.
Constructors
Constructor | Description |
---|---|
EmfCreateColorSpace(EmfRecord source) | Initializes a new instance of the EmfCreateColorSpace class. |
Methods
Method | Description |
---|---|
getIhCS() | Gets or sets a 32-bit unsigned integer that specifies the index of the logical color space object in the EMF object table (section 3.1.1.1). |
setIhCS(int value) | Gets or sets a 32-bit unsigned integer that specifies the index of the logical color space object in the EMF object table (section 3.1.1.1). |
getLcs() | Gets or sets a WMF LogColorSpace object ([MS-WMF] section 2.2.2.11), which can specify the name of a color profile in ASCII characters. |
setLcs(WmfLogColorSpace value) | Gets or sets a WMF LogColorSpace object ([MS-WMF] section 2.2.2.11), which can specify the name of a color profile in ASCII characters. |
EmfCreateColorSpace(EmfRecord source)
public EmfCreateColorSpace(EmfRecord source)
Initializes a new instance of the EmfCreateColorSpace
class.
Parameters:
Parameter | Type | Description |
---|---|---|
source | EmfRecord | The source. |
getIhCS()
public int getIhCS()
Gets or sets a 32-bit unsigned integer that specifies the index of the logical color space object in the EMF object table (section 3.1.1.1). This index MUST be saved so that this object can be reused or modified.
Returns: int
setIhCS(int value)
public void setIhCS(int value)
Gets or sets a 32-bit unsigned integer that specifies the index of the logical color space object in the EMF object table (section 3.1.1.1). This index MUST be saved so that this object can be reused or modified.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
getLcs()
public WmfLogColorSpace getLcs()
Gets or sets a WMF LogColorSpace object ([MS-WMF] section 2.2.2.11), which can specify the name of a color profile in ASCII characters.
Returns: WmfLogColorSpace
setLcs(WmfLogColorSpace value)
public void setLcs(WmfLogColorSpace value)
Gets or sets a WMF LogColorSpace object ([MS-WMF] section 2.2.2.11), which can specify the name of a color profile in ASCII characters.
Parameters:
Parameter | Type | Description |
---|---|---|
value | WmfLogColorSpace |