Class EmfRecord

Class EmfRecord

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

Base class for EMF records All EMF records MUST have a length that is a multiple of 4 bytes. This is depicted in the generic structures of the preceding EMF record types by including AlignmentPadding fields where appropriate at the ends of these structures. The contents of AlignmentPadding fields MUST always be ignored. For brevity, these fields are not shown in every individual EMF record definition.

[JsonObject(MemberSerialization.OptIn)]
public class EmfRecord : MetaObject

Inheritance

objectMetaObjectEmfRecord

Derived

EmfBitmapRecordType, EmfClippingRecordType, EmfCommentRecordType, EmfControlRecordType, EmfDeleteObject, EmfDrawingRecordType, EmfEscapeRecordType, EmfLineTo, EmfMetafileHeader, EmfMoveToEx, EmfObjectCreationRecordType, EmfObjectManipulationRecordType, EmfOpenGlRecordType, EmfPathBracketRecordType, EmfSelectObject, EmfSetMapMode, EmfStateRecordType, EmfTransformRecordType

Inherited Members

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

Constructors

EmfRecord()

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

[JsonConstructor]
public EmfRecord()

EmfRecord(EmfRecord)

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

public EmfRecord(EmfRecord source)

Parameters

source EmfRecord

The source.

EmfRecord(EmfRecordType)

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

public EmfRecord(EmfRecordType type)

Parameters

type EmfRecordType

The record type.

Properties

Size

Gets or sets the size of the record

public int Size { get; set; }

Property Value

int

Type

Gets or sets the type.

public EmfRecordType Type { get; set; }

Property Value

EmfRecordType