Class EmfRecord
Namespace: Aspose.Imaging.FileFormats.Emf.Emf.Records
Assembly: Aspose.Imaging.dll (25.7.0)
Base class for EMF recordsAll EMF records MUST have a length that is a multiple of 4 bytes. This is depicted in thegeneric structures of the preceding EMF record types by including AlignmentPadding fieldswhere appropriate at the ends of these structures. The contents of AlignmentPadding fieldsMUST always be ignored. For brevity, these fields are not shown in every individual EMFrecord definition.
[JsonObject(MemberSerialization.OptIn)]
public class EmfRecord : MetaObject
{
}
Inheritance
object ← MetaObject ← EmfRecord
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)
{
this._recordID = source._recordID;
this._version = source._version;
this._numBytes = source._numBytes;
this._flags = source._flags;
this._ulData = source._ulData;
}
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)
{
this.Type = type;
}
Parameters
type
EmfRecordType
The record type.
Properties
Size
Gets or sets the size of the record
public int Size
{
get;
set;
}
Property Value
Type
Gets or sets the type.
public EmfRecordType Type
{
get;
set;
}