Class EmfComment

Class EmfComment

Namespace: Aspose.Imaging.FileFormats.Emf.Emf.Records
Assembly: Aspose.Imaging.dll (25.2.0)

The EMR_COMMENT record contains arbitrary private data. Note Fields that are not described in this section are specified in section 2.3.3.

public sealed class EmfComment : EmfCommentRecordType

Inheritance

objectMetaObjectEmfRecordEmfCommentRecordTypeEmfComment

Inherited Members

EmfCommentRecordType.DataSize, EmfCommentRecordType.CommentIdentifier, EmfRecord.Type, EmfRecord.Size, object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

EmfComment(EmfRecord)

Initializes a new instance of the Aspose.Imaging.FileFormats.Emf.Emf.Records.EmfComment class.

public EmfComment(EmfRecord source)

Parameters

source EmfRecord

The source.

Properties

CommentIdentifier

Gets or sets the comment identifier.

public override EmfCommentRecordType.CommentIdentifierEnum CommentIdentifier { get; set; }

Property Value

EmfCommentRecordType.CommentIdentifierEnum

PrivateData

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.

public byte[] PrivateData { get; set; }

Property Value

byte[]