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.
Constructor and Description |
---|
EmfSetIcmProfileW(EmfRecord source)
Initializes a new instance of the
EmfSetIcmProfileW class. |
Modifier and Type | Method and Description |
---|---|
int |
getCbData()
Gets or sets a 32-bit unsigned integer that specifies the size of color profile data, if attached.
|
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.
|
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.
|
int |
getDwFlags()
Gets or sets a 32-bit unsigned integer that contains color profile flags.
|
String |
getName()
Gets the name
|
byte[] |
getRawData()
Gets the raw data
|
void |
setCbData(int value)
Gets or sets a 32-bit unsigned integer that specifies the size of color profile data, if attached.
|
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.
|
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.
|
void |
setDwFlags(int value)
Gets or sets a 32-bit unsigned integer that contains color profile flags.
|
public EmfSetIcmProfileW(EmfRecord source)
Initializes a new instance of the EmfSetIcmProfileW
class.
source
- The source.public int getDwFlags()
Gets or sets a 32-bit unsigned integer that contains color profile flags.
public void setDwFlags(int value)
Gets or sets a 32-bit unsigned integer that contains color profile flags.
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.
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.
public int getCbData()
Gets or sets a 32-bit unsigned integer that specifies the size of color profile data, if attached.
public void setCbData(int value)
Gets or sets a 32-bit unsigned integer that specifies the size of color profile data, if attached.
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.
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.
public String getName()
Gets the name
public byte[] getRawData()
Gets the raw data