EmfSetIcmProfileA

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 EmfSetIcmProfileA extends EmfStateRecordType

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

Constructors

ConstructorDescription
EmfSetIcmProfileA(EmfRecord source)Initializes a new instance of the EmfSetIcmProfileA 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 ASCII 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 ASCII name of the desired color profile.
getCbData()Gets or sets a 32-bit unsigned integer that specifies the size of the color profile data, if it is contained in the Data field.
setCbData(int value)Gets or sets a 32-bit unsigned integer that specifies the size of the color profile data, if it is contained in the Data field.
getData()Gets or sets an array of size (cbName + cbData) in bytes, which specifies the ASCII 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 ASCII name and raw data of the desired color profile.
getName()Gets the name
getRawData()Gets the raw data

EmfSetIcmProfileA(EmfRecord source)

public EmfSetIcmProfileA(EmfRecord source)

Initializes a new instance of the EmfSetIcmProfileA 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 ASCII 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 ASCII 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 the color profile data, if it is contained in 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 of the color profile data, if it is contained in the Data field.

Parameters:

ParameterTypeDescription
valueint

getData()

public byte[] getData()

Gets or sets an array of size (cbName + cbData) in bytes, which specifies the ASCII 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 ASCII 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[]