EmfCreateColorSpaceW

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 EmfCreateColorSpaceW extends EmfObjectCreationRecordType

The EMR_CREATECOLORSPACEW record creates a logical color space object from a color profile with a name consisting of Unicode 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

ConstructorDescription
EmfCreateColorSpaceW(EmfRecord source)Initializes a new instance of the EmfCreateColorSpaceW class.

Methods

MethodDescription
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 LogColorSpaceW object ([MS-WMF] section 2.2.2.12) that can specify the name of a color profile in Unicode UTF16-LE characters
setLcs(WmfLogColorSpaceW value)Gets or sets a WMF LogColorSpaceW object ([MS-WMF] section 2.2.2.12) that can specify the name of a color profile in Unicode UTF16-LE characters
getDwFlags()Gets or sets a 32-bit unsigned integer that provides information about the data in this record.
setDwFlags(int value)Gets or sets a 32-bit unsigned integer that provides information about the data in this record.
getCbData()Gets or sets a 32-bit unsigned integer that specifies the size, in bytes, of the Data field.
setCbData(int value)Gets or sets a 32-bit unsigned integer that specifies the size, in bytes, of the Data field.
getData()Gets or sets an optional array of bytes that specifies color profile data.
setData(byte[] value)Gets or sets an optional array of bytes that specifies color profile data.

EmfCreateColorSpaceW(EmfRecord source)

public EmfCreateColorSpaceW(EmfRecord source)

Initializes a new instance of the EmfCreateColorSpaceW class.

Parameters:

ParameterTypeDescription
sourceEmfRecordThe 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:

ParameterTypeDescription
valueint

getLcs()

public WmfLogColorSpaceW getLcs()

Gets or sets a WMF LogColorSpaceW object ([MS-WMF] section 2.2.2.12) that can specify the name of a color profile in Unicode UTF16-LE characters

Returns: WmfLogColorSpaceW

setLcs(WmfLogColorSpaceW value)

public void setLcs(WmfLogColorSpaceW value)

Gets or sets a WMF LogColorSpaceW object ([MS-WMF] section 2.2.2.12) that can specify the name of a color profile in Unicode UTF16-LE characters

Parameters:

ParameterTypeDescription
valueWmfLogColorSpaceW

getDwFlags()

public int getDwFlags()

Gets or sets a 32-bit unsigned integer that provides information about the data in this record.

Returns: int

setDwFlags(int value)

public void setDwFlags(int value)

Gets or sets a 32-bit unsigned integer that provides information about the data in this record.

Parameters:

ParameterTypeDescription
valueint

getCbData()

public int getCbData()

Gets or sets a 32-bit unsigned integer that specifies the size, in bytes, of the Data field.

Returns: int

setCbData(int value)

public void setCbData(int value)

Gets or sets a 32-bit unsigned integer that specifies the size, in bytes, of the Data field.

Parameters:

ParameterTypeDescription
valueint

getData()

public byte[] getData()

Gets or sets an optional array of bytes that specifies color profile data.

Returns: byte[]

setData(byte[] value)

public void setData(byte[] value)

Gets or sets an optional array of bytes that specifies color profile data.

Parameters:

ParameterTypeDescription
valuebyte[]