public class EmfCommentMultiFormats extends EmfCommentPublicRecordType
The EMR_COMMENT_MULTIFORMATS record specifies an image in multiple graphics formats.
EmfCommentRecordType.CommentIdentifierEnum
Constructor and Description |
---|
EmfCommentMultiFormats(EmfCommentPublicRecordType source)
Initializes a new instance of the
EmfCommentMultiFormats class. |
Modifier and Type | Method and Description |
---|---|
EmfFormat[] |
getAFormats()
Gets or sets a CountFormats length array of graphics formats, specified by
EmrFormat objects (section 2.2.4), in order of preference
|
int |
getCountFormats()
Gets or sets a 32-bit unsigned integer that specifies the number of graphics
formats contained in this record.
|
byte[] |
getFormatData()
Gets or sets a variable-length array of bytes of image data for all graphics formats
contained in this record.
|
Rectangle |
getOutputRect()
Gets or sets a WMF RectL object ([MS-WMF] section 2.2.2.19) that specifies the
output rectangle, in logical coordinates.
|
void |
setAFormats(EmfFormat[] value)
Gets or sets a CountFormats length array of graphics formats, specified by
EmrFormat objects (section 2.2.4), in order of preference
|
void |
setCountFormats(int value)
Gets or sets a 32-bit unsigned integer that specifies the number of graphics
formats contained in this record.
|
void |
setFormatData(byte[] value)
Gets or sets a variable-length array of bytes of image data for all graphics formats
contained in this record.
|
void |
setOutputRect(Rectangle value)
Gets or sets a WMF RectL object ([MS-WMF] section 2.2.2.19) that specifies the
output rectangle, in logical coordinates.
|
getCommentIdentifier, getPublicCommentIdentifier, setCommentIdentifier, setPublicCommentIdentifier
getDataSize, setDataSize
getSize, getType, setSize, setType
deepClone_internalized
public EmfCommentMultiFormats(EmfCommentPublicRecordType source)
Initializes a new instance of the EmfCommentMultiFormats
class.
source
- The source.public Rectangle getOutputRect()
Gets or sets a WMF RectL object ([MS-WMF] section 2.2.2.19) that specifies the output rectangle, in logical coordinates.
public void setOutputRect(Rectangle value)
Gets or sets a WMF RectL object ([MS-WMF] section 2.2.2.19) that specifies the output rectangle, in logical coordinates.
public int getCountFormats()
Gets or sets a 32-bit unsigned integer that specifies the number of graphics formats contained in this record.
public void setCountFormats(int value)
Gets or sets a 32-bit unsigned integer that specifies the number of graphics formats contained in this record.
public EmfFormat[] getAFormats()
Gets or sets a CountFormats length array of graphics formats, specified by EmrFormat objects (section 2.2.4), in order of preference
public void setAFormats(EmfFormat[] value)
Gets or sets a CountFormats length array of graphics formats, specified by EmrFormat objects (section 2.2.4), in order of preference
public byte[] getFormatData()
Gets or sets a variable-length array of bytes of image data for all graphics formats contained in this record. The size of the data for each image is provided by the DataSize field in the corresponding EmrFormat object. Thus, the total size of this field is the sum of DataSize values in all EmrFormat objects. The graphics format of the data for each image is specified by the Signature field in the corresponding EmrFormat object.
public void setFormatData(byte[] value)
Gets or sets a variable-length array of bytes of image data for all graphics formats contained in this record. The size of the data for each image is provided by the DataSize field in the corresponding EmrFormat object. Thus, the total size of this field is the sum of DataSize values in all EmrFormat objects. The graphics format of the data for each image is specified by the Signature field in the corresponding EmrFormat object.
Copyright (c) 2008-2016 Aspose Pty Ltd. All Rights Reserved.