Class EmfHeaderObject
Namespace: Aspose.Imaging.FileFormats.Emf.Emf.Objects
Assembly: Aspose.Imaging.dll (25.2.0)
The Header object defines the EMF metafile header. It specifies properties of the device on which the image in the metafile was created.
[JsonObject(MemberSerialization.OptIn)]
public class EmfHeaderObject : EmfObject
Inheritance
object ← MetaObject ← EmfObject ← EmfHeaderObject
Derived
EmfHeaderExtension1, EmfHeaderExtension2
Inherited Members
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
EmfHeaderObject()
[JsonConstructor]
public EmfHeaderObject()
Properties
Bounds
Gets or sets a WMF RectL object ([MS-WMF] section 2.2.2.19) that specifies the rectangular inclusive-inclusive bounds in device units of the smallest rectangle that can be drawn around the image stored in the metafile
public Rectangle Bounds { get; set; }
Property Value
Bytes
Gets or sets 32-bit unsigned integer that specifies the size of the metafile, in bytes.
public int Bytes { get; set; }
Property Value
Device
Gets or sets a WMF SizeL object ([MS-WMF] section 2.2.2.22) that specifies the size of the reference device, in pixels
public Size Device { get; set; }
Property Value
Frame
Gets or sets a WMF RectL object that specifies the rectangular inclusive-inclusive dimensions, in .01 millimeter units, of a rectangle that surrounds the image stored in the metafile
public Rectangle Frame { get; set; }
Property Value
Handles
Gets or sets a 16-bit unsigned integer that specifies the number of graphics objects that will be used during the processing of the metafile
public short Handles { get; set; }
Property Value
Millimeters
Gets or sets a WMF SizeL object that specifies the size of the reference device, in millimeters
public Size Millimeters { get; set; }
Property Value
NDesription
Gets or sets a 32-bit unsigned integer that specifies the number of characters in the array that contains the description of the metafile’s contents. This is zero if there is no description string.
public int NDesription { get; set; }
Property Value
NPalEntries
Gets or sets a 32-bit unsigned integer that specifies the number of entries in the metafile palette. The palette is located in the EMR_EOF record
public int NPalEntries { get; set; }
Property Value
OffDescription
Gets or sets a 32-bit unsigned integer that specifies the offset from the beginning of this record to the array that contains the description of the metafile’s contents
public int OffDescription { get; set; }
Property Value
RecordSignature
Gets or sets a 32-bit unsigned integer that specifies the record signature. This MUST be ENHMETA_SIGNATURE, from the FormatSignature enumeration (section 2.1.14).
public EmfFormatSignature RecordSignature { get; set; }
Property Value
Records
Gets or sets a 32-bit unsigned integer that specifies the number of records in the metafile
public int Records { get; set; }
Property Value
Reserved
Gets or sets a 16-bit unsigned integer that MUST be 0x0000 and MUST be ignored
public short Reserved { get; set; }
Property Value
Valid
Gets a value indicating whether this Aspose.Imaging.FileFormats.Emf.Emf.Objects.EmfHeaderObject is valid.
public bool Valid { get; }
Property Value
Version
Gets or sets Version (4 bytes): A 32-bit unsigned integer that specifies EMF metafile interoperability. This SHOULD be 0x00010000
public int Version { get; set; }