EmfSetIcmProfileW

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.EmfStateRecordType

public final class EmfSetIcmProfileW extends EmfStateRecordType

The EMR_SETICMPROFILEW record specifies a color profile in a file with a name consisting of Unicode characters, for graphics output.

Constructors

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

Methods

MethodDescription
getDwFlags()Gets or sets a 32-bit unsigned integer that contains color profile flags.
setDwFlags(int value)Gets or sets a 32-bit unsigned integer that contains color profile flags.
getCbName()Gets or sets a 32-bit unsigned integer that specifies the number of bytes in the Unicode UTF16-LE name of the desired color profile.
setCbName(int value)Gets or sets a 32-bit unsigned integer that specifies the number of bytes in the Unicode UTF16-LE name of the desired color profile.
getCbData()Gets or sets a 32-bit unsigned integer that specifies the size of color profile data, if attached.
setCbData(int value)Gets or sets a 32-bit unsigned integer that specifies the size of color profile data, if attached.
getData()Gets or sets an array of size (cbName + cbData) in bytes, which specifies the UTF16-LE name and raw data of the desired color profile.
setData(byte[] value)Gets or sets an array of size (cbName + cbData) in bytes, which specifies the UTF16-LE name and raw data of the desired color profile.
getName()Gets the name
getRawData()Gets the raw data

EmfSetIcmProfileW(EmfRecord source)

public EmfSetIcmProfileW(EmfRecord source)

Initializes a new instance of the EmfSetIcmProfileW class.

Parameters:

ParameterTypeDescription
sourceEmfRecordThe source.

getDwFlags()

public int getDwFlags()

Gets or sets a 32-bit unsigned integer that contains color profile flags.

Returns: int

setDwFlags(int value)

public void setDwFlags(int value)

Gets or sets a 32-bit unsigned integer that contains color profile flags.

Parameters:

ParameterTypeDescription
valueint

getCbName()

public int getCbName()

Gets or sets a 32-bit unsigned integer that specifies the number of bytes in the Unicode UTF16-LE name of the desired color profile.

Returns: int

setCbName(int value)

public void setCbName(int value)

Gets or sets a 32-bit unsigned integer that specifies the number of bytes in the Unicode UTF16-LE name of the desired color profile.

Parameters:

ParameterTypeDescription
valueint

getCbData()

public int getCbData()

Gets or sets a 32-bit unsigned integer that specifies the size of color profile data, if attached.

Returns: int

setCbData(int value)

public void setCbData(int value)

Gets or sets a 32-bit unsigned integer that specifies the size of color profile data, if attached.

Parameters:

ParameterTypeDescription
valueint

getData()

public byte[] getData()

Gets or sets an array of size (cbName + cbData) in bytes, which specifies the UTF16-LE name and raw data of the desired color profile.

Returns: byte[]

setData(byte[] value)

public void setData(byte[] value)

Gets or sets an array of size (cbName + cbData) in bytes, which specifies the UTF16-LE name and raw data of the desired color profile.

Parameters:

ParameterTypeDescription
valuebyte[]

getName()

public String getName()

Gets the name

Returns: java.lang.String

getRawData()

public byte[] getRawData()

Gets the raw data

Returns: byte[]