Packages

 

com.aspose.imaging.fileformats.emf.emf.records

Classes

com.aspose.imaging.fileformats.emf.emf.records

Class EmfComment

  • All Implemented Interfaces:
    com.aspose.internal.fileformats.emf.IRecord, Cloneable


    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.

    • Constructor Detail

      • EmfComment

        public EmfComment(EmfRecord source)

        Initializes a new instance of the EmfComment class.

        Parameters:
        source - The source.
    • Method Detail

      • 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.

      • setPrivateData

        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.

      • setCommentIdentifier

        public void setCommentIdentifier(int value)

        Gets or sets the comment identifier.

        Value: The comment identifier.
        Overrides:
        setCommentIdentifier in class EmfCommentRecordType