EmfCommentRecordType

Inheritance: java.lang.Object, com.aspose.imaging.fileformats.emf.MetaObject, com.aspose.imaging.fileformats.emf.emf.records.EmfRecord

public abstract class EmfCommentRecordType extends EmfRecord

The comment record types define formats for specifying arbitrary private data, embedding records in other metafile formats, and adding new or special-purpose commands.

Methods

MethodDescription
getDataSize()Gets or sets a 32-bit unsigned integer that specifies the size, in bytes, of the CommentIdentifier and CommentRecordParm fields in the RecordBuffer field that follows.
setDataSize(int value)Gets or sets a 32-bit unsigned integer that specifies the size, in bytes, of the CommentIdentifier and CommentRecordParm fields in the RecordBuffer field that follows.
getCommentIdentifier()Gets or sets the comment identifier.
setCommentIdentifier(int value)Gets or sets the comment identifier.

getDataSize()

public int getDataSize()

Gets or sets a 32-bit unsigned integer that specifies the size, in bytes, of the CommentIdentifier and CommentRecordParm fields in the RecordBuffer field that follows. It MUST NOT include the size of itself or the size of the AlignmentPadding field, if present

Returns: int

setDataSize(int value)

public void setDataSize(int value)

Gets or sets a 32-bit unsigned integer that specifies the size, in bytes, of the CommentIdentifier and CommentRecordParm fields in the RecordBuffer field that follows. It MUST NOT include the size of itself or the size of the AlignmentPadding field, if present

Parameters:

ParameterTypeDescription
valueint

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:

ParameterTypeDescription
valueint