Class EmfPlusRecord

Class EmfPlusRecord

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

The Emf+ base record type.

public class EmfPlusRecord : MetaObject
   {
       private int _tag;
       private byte[] _data;
       public EmfPlusRecord(int tag, byte[] data)
       {
           _tag = tag;
           _data = data;
       }
       public int Tag
       {
           get { return _tag; }
       }
       public byte[] Data
       {
           get { return _data; }
       }
   }

Inheritance

object MetaObject EmfPlusRecord

Derived

EmfPlusClippingRecordType , EmfPlusComment , EmfPlusControlRecordType , EmfPlusDrawingRecordType , EmfPlusObjectRecordType , EmfPlusPropertyRecordType , EmfPlusStateRecordType , EmfPlusTerminalServerRecordType , EmfPlusTransformRecordType

Inherited Members

object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Constructors

EmfPlusRecord()

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

public EmfPlusRecord()
   {
   }

EmfPlusRecord(EmfPlusRecord)

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

public EmfPlusRecord(EmfPlusRecord source)
   {
       this.Property1 = source.Property1;
       this.Property2 = source.Property2;
       this._otherProperty = source._otherProperty;
   }

Parameters

source EmfPlusRecord

The source.

Properties

DataSize

Gets or sets a 32-bit unsigned integer that MUST define the 32-bit–aligned number ofbytes of data in the RecordData field that follows. This number does not include the 12-byte record header.

public virtual int DataSize
{
    get;
    set;
}

Property Value

int

Flags

Gets or sets a 16-bit unsigned integer that contains information for some records on howthe operation is to be performed and on the structure of the record.

public virtual short Flags
{
    get;
    set;
}

Property Value

short

Size

Gets or sets a 32-bit unsigned integer that specifies the 32-bit-aligned number of bytesin the entire record, including the 12-byte record header and record-specific data.

public virtual int Size
{
    get;
    set;
}

Property Value

int

Type

Gets a 16-bit unsigned integer that identifies the record type.

public EmfPlusRecordType Type
   {
      get;
   }

Property Value

EmfPlusRecordType

 English