EmfHeaderExtension2 Class
The HeaderExtension2 object defines the second extension to the EMF metafile header. It adds the ability to measure device surfaces in micrometers, which enhances the resolution and scalability of EMF metafiles.
Inheritance Hierarchy
SystemObject
  Aspose.Imaging.FileFormats.EmfMetaObject
    Aspose.Imaging.FileFormats.Emf.Emf.ObjectsEmfObject
      Aspose.Imaging.FileFormats.Emf.Emf.ObjectsEmfHeaderObject
        Aspose.Imaging.FileFormats.Emf.Emf.ObjectsEmfHeaderExtension2

Namespace: Aspose.Imaging.FileFormats.Emf.Emf.Objects
Assembly: Aspose.Imaging (in Aspose.Imaging.dll) Version: 21.05
Syntax
public sealed class EmfHeaderExtension2 : EmfHeaderObject

The EmfHeaderExtension2 type exposes the following members.

Constructors
  NameDescription
Public methodEmfHeaderExtension2
Initializes a new instance of the EmfHeaderExtension2 class
Properties
  NameDescription
Public propertyBounds
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
(Inherited from EmfHeaderObject.)
Public propertyBytes
Gets or sets 32-bit unsigned integer that specifies the size of the metafile, in bytes.
(Inherited from EmfHeaderObject.)
Public propertyDevice
Gets or sets a WMF SizeL object ([MS-WMF] section 2.2.2.22) that specifies the size of the reference device, in pixels
(Inherited from EmfHeaderObject.)
Public propertyFrame
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
(Inherited from EmfHeaderObject.)
Public propertyHandles
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
(Inherited from EmfHeaderObject.)
Public propertyMicrometersX
Gets or sets the 32-bit horizontal size of the display device for which the metafile image was generated, in micrometers
Public propertyMicrometersY
Gets or sets the 32-bit vertical size of the display device for which the metafile image was generated, in micrometers.
Public propertyMillimeters
Gets or sets a WMF SizeL object that specifies the size of the reference device, in millimeters
(Inherited from EmfHeaderObject.)
Public propertyNDesription
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.
(Inherited from EmfHeaderObject.)
Public propertyNPalEntries
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
(Inherited from EmfHeaderObject.)
Public propertyOffDescription
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
(Inherited from EmfHeaderObject.)
Public propertyRecords
Gets or sets a 32-bit unsigned integer that specifies the number of records in the metafile
(Inherited from EmfHeaderObject.)
Public propertyRecordSignature
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).
(Inherited from EmfHeaderObject.)
Public propertyReserved
Gets or sets a 16-bit unsigned integer that MUST be 0x0000 and MUST be ignored
(Inherited from EmfHeaderObject.)
Public propertyValid
Gets a value indicating whether this EmfHeaderObject is valid.
(Inherited from EmfHeaderObject.)
Public propertyVersion
Gets or sets Version (4 bytes): A 32-bit unsigned integer that specifies EMF metafile interoperability. This SHOULD be 0x00010000
(Inherited from EmfHeaderObject.)
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also