Class EmfCommentPublicRecordType

Class EmfCommentPublicRecordType

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

The EMR_COMMENT_PUBLIC record types specify extensions to EMF processing.

public abstract class EmfCommentPublicRecordType : EmfCommentRecordType
   {
   }

Inheritance

object MetaObject EmfRecord EmfCommentRecordType EmfCommentPublicRecordType

Derived

EmfCommentBeginGroup , EmfCommentEndGroup , EmfCommentMultiFormats , EmfCommentWindowsMetaFile

Inherited Members

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

Constructors

EmfCommentPublicRecordType(EmfRecord)

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

protected EmfCommentPublicRecordType(EmfRecord source)
   {
      this._recordId = source.GetRecordId();
      this._commentText = source.GetString(0);
   }

Parameters

source EmfRecord

The source.

EmfCommentPublicRecordType(EmfRecordType)

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

protected EmfCommentPublicRecordType(EmfRecordType type)
   {
      this._type = type;
      this._data = new List<byte>();
      this._comment = string.Empty;
   }

Parameters

type EmfRecordType

The record type.

Properties

CommentIdentifier

Gets or sets a 32-bit unsigned integer that identifies this comment recordas specifying public data. The value 0x43494447, which is the ASCII string “CIDG”, identifiesthis as an EMR_COMMENT_PUBLIC record.

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

Property Value

EmfCommentRecordType . CommentIdentifierEnum

PublicCommentIdentifier

Gets or sets a 32-bit unsigned integer that identifies the type ofpublic comment record. This SHOULD be one of the values listed in the preceding table, whichare specified in the EmrComment enumeration (section 2.1.10), unless additional publiccomment record types have been implemented on the print server.

public EmfEmrComment PublicCommentIdentifier
   {
      get;
      set;
   }

Property Value

EmfEmrComment

 English