public class WmfEscapeEnhancedMetafile extends WmfEscapeRecordBase
The Escape Enhanced Meta file record.
Constructor and Description |
---|
WmfEscapeEnhancedMetafile() |
Modifier and Type | Method and Description |
---|---|
int |
getChecksum()
Gets or sets the checksum.
|
int |
getCommentIdentifier()
Gets or sets the comment identifier.
|
int |
getCommentRecordCount()
Gets or sets the comment record count.
|
int |
getCommentType()
Gets or sets the type of the comment.
|
int |
getCurrentRecordSize()
Gets or sets the size of the current record.
|
byte[] |
getEnhancedMetafileData()
Gets or sets the enhanced metafile data.
|
int |
getEnhancedMetafileDataSize()
Gets or sets the size of the enhanced metafile data.
|
int |
getFlags()
Gets or sets the flags.
|
int |
getRemainingBytes()
Gets or sets the remaining bytes.
|
int |
getVersion()
Gets or sets the version.
|
void |
setChecksum(int value)
Gets or sets the checksum.
|
void |
setCommentIdentifier(int value)
Gets or sets the comment identifier.
|
void |
setCommentRecordCount(int value)
Gets or sets the comment record count.
|
void |
setCommentType(int value)
Gets or sets the type of the comment.
|
void |
setCurrentRecordSize(int value)
Gets or sets the size of the current record.
|
void |
setEnhancedMetafileData(byte[] value)
Gets or sets the enhanced metafile data.
|
void |
setEnhancedMetafileDataSize(int value)
Gets or sets the size of the enhanced metafile data.
|
void |
setFlags(int value)
Gets or sets the flags.
|
void |
setRemainingBytes(int value)
Gets or sets the remaining bytes.
|
void |
setVersion(int value)
Gets or sets the version.
|
getByteCount, getChecked, getData, setByteCount, setChecked, setData
public int getCommentIdentifier()
Gets or sets the comment identifier.
Value: A 32-bit unsigned integer that defines this record as a WMF Comment record. This value MUST be 0x43464D57.public void setCommentIdentifier(int value)
Gets or sets the comment identifier.
Value: A 32-bit unsigned integer that defines this record as a WMF Comment record. This value MUST be 0x43464D57.public int getCommentType()
Gets or sets the type of the comment.
Value: A 32-bit unsigned integer that identifies the type of comment in this record. This value MUST be 0x00000001.public void setCommentType(int value)
Gets or sets the type of the comment.
Value: A 32-bit unsigned integer that identifies the type of comment in this record. This value MUST be 0x00000001.public int getVersion()
Gets or sets the version.
Value: A 32-bit unsigned integer that specifies EMF metafile interoperability. This SHOULD be 0x00010000public void setVersion(int value)
Gets or sets the version.
Value: A 32-bit unsigned integer that specifies EMF metafile interoperability. This SHOULD be 0x00010000public int getChecksum()
Gets or sets the checksum.
Value: A 16-bit unsigned integer used to validate the correctness of the embedded EMF stream. This value MUST be the one's-complement of the result of applying an XOR operation to all WORDs in the EMF stream.public void setChecksum(int value)
Gets or sets the checksum.
Value: A 16-bit unsigned integer used to validate the correctness of the embedded EMF stream. This value MUST be the one's-complement of the result of applying an XOR operation to all WORDs in the EMF stream.public int getFlags()
Gets or sets the flags.
Value: This 32-bit unsigned integer is unused and MUST be set to zero.public void setFlags(int value)
Gets or sets the flags.
Value: This 32-bit unsigned integer is unused and MUST be set to zero.public int getCommentRecordCount()
Gets or sets the comment record count.
Value: A 32-bit unsigned integer that specifies the total number of consecutive META_ESCAPE_ENHANCED_METAFILE records that contain the embedded EMF metafile.public void setCommentRecordCount(int value)
Gets or sets the comment record count.
Value: A 32-bit unsigned integer that specifies the total number of consecutive META_ESCAPE_ENHANCED_METAFILE records that contain the embedded EMF metafile.public int getCurrentRecordSize()
Gets or sets the size of the current record.
Value: A 32-bit unsigned integer that specifies the size, in bytes, of the EnhancedMetafileData field. This value MUST be less than or equal to 8,192.public void setCurrentRecordSize(int value)
Gets or sets the size of the current record.
Value: A 32-bit unsigned integer that specifies the size, in bytes, of the EnhancedMetafileData field. This value MUST be less than or equal to 8,192.public int getRemainingBytes()
Gets or sets the remaining bytes.
Value: A 32-bit unsigned integer that specifies the number of bytes in the EMF stream that remain to be processed after this record. Those additional EMF bytes MUST follow in the EnhancedMetafileData fields of subsequent META_ESCAPE_ENHANDED_METAFILE escape records.public void setRemainingBytes(int value)
Gets or sets the remaining bytes.
Value: A 32-bit unsigned integer that specifies the number of bytes in the EMF stream that remain to be processed after this record. Those additional EMF bytes MUST follow in the EnhancedMetafileData fields of subsequent META_ESCAPE_ENHANDED_METAFILE escape records.public int getEnhancedMetafileDataSize()
Gets or sets the size of the enhanced metafile data.
Value: A 32-bit unsigned integer that specifies the total size of the EMF stream embedded in this sequence of META_ESCAPE_ENHANCED_METAFILE records.public void setEnhancedMetafileDataSize(int value)
Gets or sets the size of the enhanced metafile data.
Value: A 32-bit unsigned integer that specifies the total size of the EMF stream embedded in this sequence of META_ESCAPE_ENHANCED_METAFILE records.public byte[] getEnhancedMetafileData()
Gets or sets the enhanced metafile data.
Value: A segment of an EMF file. The bytes in consecutive META_ESCAPE_ENHANCED_METAFILE records MUST be concatenated to represent the entire embedded EMF file.public void setEnhancedMetafileData(byte[] value)
Gets or sets the enhanced metafile data.
Value: A segment of an EMF file. The bytes in consecutive META_ESCAPE_ENHANCED_METAFILE records MUST be concatenated to represent the entire embedded EMF file.