Class EmfMetafileHeaderExtension1

EmfMetafileHeaderExtension1 class

The EmfMetafileHeaderExtension1 record is the header record used in the first extension to EMF metafiles. Following the EmfHeaderExtension1 field, the remaining fields are optional and can be present in any order.

public class EmfMetafileHeaderExtension1 : EmfMetafileHeader

Constructors

NameDescription
EmfMetafileHeaderExtension1(EmfMetafileHeader)Initializes a new instance of the EmfMetafileHeaderExtension1 class.
EmfMetafileHeaderExtension1(EmfMetafileHeaderExtension1)Initializes a new instance of the EmfMetafileHeaderExtension1 class.

Properties

NameDescription
EmfDescription { get; set; }Gets or sets the EMF description An optional, null-terminated Unicode UTF16-LE string of arbitrary length and content. Its location in the record and number of characters are specified by the offDescription and nDescription fields, respectively, in EmfHeader. If the value of either field is zero, no description string is present.
EmfDescriptionBuffer { get; set; }Gets or sets the EMF description buffer An optional array of bytes that contains the EMF description string, which is not required to be contiguous with the fixed portion of the EmfMetafileHeader record. Accordingly, the field in this buffer that is labeled “UndefinedSpace” is optional and MUST be ignored.
EmfHeader { get; set; }Gets or sets a Header object (section 2.2.9), which contains information about the content and structure of the metafile
EmfHeaderExtension1 { get; set; }Gets or sets a HeaderExtension1 object, which specifies additional information about the image in the metafile.
EmfHeaderRecordBuffer { get; set; }Gets or sets an optional array of bytes that contains the remainder of the EMF header record. The size of this field MUST be a multiple of 4 bytes
EmfPixelFormatBuffer { get; set; }Gets or sets an optional array of bytes that contains the EMF pixel format descriptor, which is not required to be contiguous with the fixed portion of the EmfMetafileHeaderExtension1 record or with the EMF description string. Accordingly, the field in this buffer that is labeled “UndefinedSpace” is optional and MUST be ignored
Size { get; set; }Gets or sets the size of the record
Type { get; set; }Gets or sets the type.

See Also