EmfComment
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
public final class EmfComment extends EmfCommentRecordType
The EMR_COMMENT record contains arbitrary private data. Note Fields that are not described in this section are specified in section 2.3.3.
Constructors
Constructor | Description |
---|---|
EmfComment(EmfRecord source) | Initializes a new instance of the EmfComment class. |
Methods
Method | Description |
---|---|
getPrivateData() | Gets or sets an optional array of bytes that specifies the private data. |
setPrivateData(byte[] value) | Gets or sets an optional array of bytes that specifies the private data. |
getCommentIdentifier() | Gets or sets the comment identifier. |
setCommentIdentifier(int value) | Gets or sets the comment identifier. |
EmfComment(EmfRecord source)
public EmfComment(EmfRecord source)
Initializes a new instance of the EmfComment
class.
Parameters:
Parameter | Type | Description |
---|---|---|
source | EmfRecord | The source. |
getPrivateData()
public byte[] getPrivateData()
Gets or sets an optional array of bytes that specifies the private data. The first DWORD of this data MUST NOT be one of the predefined comment identifier values specified in section 2.3.3. Private data is unknown to EMF; it is meaningful only to applications that know the format of the data and how to use it. EMR_COMMENT private data records MAY be ignored.
Returns: byte[]
setPrivateData(byte[] value)
public void setPrivateData(byte[] value)
Gets or sets an optional array of bytes that specifies the private data. The first DWORD of this data MUST NOT be one of the predefined comment identifier values specified in section 2.3.3. Private data is unknown to EMF; it is meaningful only to applications that know the format of the data and how to use it. EMR_COMMENT private data records MAY be ignored.
Parameters:
Parameter | Type | Description |
---|---|---|
value | byte[] |
getCommentIdentifier()
public int getCommentIdentifier()
Gets or sets the comment identifier.
Value: The comment identifier.
Returns: int
setCommentIdentifier(int value)
public void setCommentIdentifier(int value)
Gets or sets the comment identifier.
Value: The comment identifier.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |