EmfCommentWindowsMetaFile
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.EmfCommentRecordType, com.aspose.imaging.fileformats.emf.emf.records.EmfCommentPublicRecordType
public final class EmfCommentWindowsMetaFile extends EmfCommentPublicRecordType
The EMR_COMMENT_WINDOWS_METAFILE record specifies an image in an embedded WMF metafile.
Constructors
Constructor | Description |
---|---|
EmfCommentWindowsMetaFile(EmfRecord source) | Initializes a new instance of the EmfCommentWindowsMetaFile class. |
Methods
Method | Description |
---|---|
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). |
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). |
getChecksum() | Gets or sets a 32-bit unsigned integer that specifies the checksum for this record. |
setChecksum(int value) | Gets or sets a 32-bit unsigned integer that specifies the checksum for this record. |
getFlags() | Gets or sets a 32-bit value that MUST be 0x00000000 and MUST be ignored. |
setFlags(int value) | Gets or sets a 32-bit value that MUST be 0x00000000 and MUST be ignored. |
getWinMetafileSize() | Gets or sets a 32-bit unsigned integer that specifies the size, in bytes, of the WMF metafile in the WinMetafile field. |
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. |
getWinMetafile() | Gets or sets a buffer that contains the WMF metafile. |
setWinMetafile(MetaImage value) | Gets or sets a buffer that contains the WMF metafile. |
EmfCommentWindowsMetaFile(EmfRecord source)
public EmfCommentWindowsMetaFile(EmfRecord source)
Initializes a new instance of the EmfCommentWindowsMetaFile
class.
Parameters:
Parameter | Type | Description |
---|---|---|
source | EmfRecord | The source. |
getVersion()
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).
Returns: short
setVersion(short value)
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).
Parameters:
Parameter | Type | Description |
---|---|---|
value | short |
getChecksum()
public int getChecksum()
Gets or sets a 32-bit unsigned integer that specifies the checksum for this record.
Returns: int
setChecksum(int value)
public void setChecksum(int value)
Gets or sets a 32-bit unsigned integer that specifies the checksum for this record.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
getFlags()
public int getFlags()
Gets or sets a 32-bit value that MUST be 0x00000000 and MUST be ignored.
Returns: int
setFlags(int value)
public void setFlags(int value)
Gets or sets a 32-bit value that MUST be 0x00000000 and MUST be ignored.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
getWinMetafileSize()
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.
Returns: int
setWinMetafileSize(int value)
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.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
getWinMetafile()
public MetaImage getWinMetafile()
Gets or sets a buffer that contains the WMF metafile.
Returns: MetaImage
setWinMetafile(MetaImage value)
public void setWinMetafile(MetaImage value)
Gets or sets a buffer that contains the WMF metafile.
Parameters:
Parameter | Type | Description |
---|---|---|
value | MetaImage |