public final class EmfCommentWindowsMetaFile extends EmfCommentPublicRecordType
The EMR_COMMENT_WINDOWS_METAFILE record specifies an image in an embedded WMF metafile.
EmfCommentRecordType.CommentIdentifierEnum
Constructor and Description |
---|
EmfCommentWindowsMetaFile(EmfRecord source)
Initializes a new instance of the
EmfCommentWindowsMetaFile class. |
Modifier and Type | Method and Description |
---|---|
int |
getChecksum()
Gets or sets a 32-bit unsigned integer that specifies the checksum for this record.
|
int |
getFlags()
Gets or sets a 32-bit value that MUST be 0x00000000 and MUST be ignored.
|
short |
getVersion()
Gets or sets a 16-bit unsigned integer that specifies the WMF metafile version in terms
of support for device-independent bitmaps (DIBs), from the WMF MetafileVersion
enumeration ([MS-WMF] section 2.1.1.19).
|
MetaImage |
getWinMetafile()
Gets or sets a buffer that contains the WMF metafile.
|
int |
getWinMetafileSize()
Gets or sets a 32-bit unsigned integer that specifies the size, in bytes, of the
WMF metafile in the WinMetafile field.
|
void |
setChecksum(int value)
Gets or sets a 32-bit unsigned integer that specifies the checksum for this record.
|
void |
setFlags(int value)
Gets or sets a 32-bit value that MUST be 0x00000000 and MUST be ignored.
|
void |
setVersion(short value)
Gets or sets a 16-bit unsigned integer that specifies the WMF metafile version in terms
of support for device-independent bitmaps (DIBs), from the WMF MetafileVersion
enumeration ([MS-WMF] section 2.1.1.19).
|
void |
setWinMetafile(MetaImage value)
Gets or sets a buffer that contains the WMF metafile.
|
void |
setWinMetafileSize(int value)
Gets or sets a 32-bit unsigned integer that specifies the size, in bytes, of the
WMF metafile in the WinMetafile field.
|
getCommentIdentifier, getPublicCommentIdentifier, setCommentIdentifier, setPublicCommentIdentifier
getDataSize, setDataSize
public EmfCommentWindowsMetaFile(EmfRecord source)
Initializes a new instance of the EmfCommentWindowsMetaFile
class.
source
- The source.public short getVersion()
Gets or sets a 16-bit unsigned integer that specifies the WMF metafile version in terms of support for device-independent bitmaps (DIBs), from the WMF MetafileVersion enumeration ([MS-WMF] section 2.1.1.19).
public void setVersion(short value)
Gets or sets a 16-bit unsigned integer that specifies the WMF metafile version in terms of support for device-independent bitmaps (DIBs), from the WMF MetafileVersion enumeration ([MS-WMF] section 2.1.1.19).
public int getChecksum()
Gets or sets a 32-bit unsigned integer that specifies the checksum for this record.
public void setChecksum(int value)
Gets or sets a 32-bit unsigned integer that specifies the checksum for this record.
public int getFlags()
Gets or sets a 32-bit value that MUST be 0x00000000 and MUST be ignored.
public void setFlags(int value)
Gets or sets a 32-bit value that MUST be 0x00000000 and MUST be ignored.
public int getWinMetafileSize()
Gets or sets a 32-bit unsigned integer that specifies the size, in bytes, of the WMF metafile in the WinMetafile field.
public void setWinMetafileSize(int value)
Gets or sets a 32-bit unsigned integer that specifies the size, in bytes, of the WMF metafile in the WinMetafile field.
public MetaImage getWinMetafile()
Gets or sets a buffer that contains the WMF metafile.
public void setWinMetafile(MetaImage value)
Gets or sets a buffer that contains the WMF metafile.