EmfMetafileHeaderExtension1

Inheritance: java.lang.Object, com.aspose.imaging.fileformats.emf.MetaObject, com.aspose.imaging.fileformats.emf.emf.records.EmfRecord, com.aspose.imaging.fileformats.emf.emf.records.EmfMetafileHeader

public class EmfMetafileHeaderExtension1 extends EmfMetafileHeader

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.

Constructors

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

Methods

MethodDescription
getEmfHeaderExtension1()Gets or sets a HeaderExtension1 object, which specifies additional information about the image in the metafile.
setEmfHeaderExtension1(EmfHeaderExtension1 value)Gets or sets a HeaderExtension1 object, which specifies additional information about the image in the metafile.
getEmfPixelFormatBuffer()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.
setEmfPixelFormatBuffer(byte[] value)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.

EmfMetafileHeaderExtension1(EmfMetafileHeader header)

public EmfMetafileHeaderExtension1(EmfMetafileHeader header)

Initializes a new instance of the EmfMetafileHeaderExtension1 class.

Parameters:

ParameterTypeDescription
headerEmfMetafileHeaderThe header.

EmfMetafileHeaderExtension1(EmfMetafileHeaderExtension1 header)

public EmfMetafileHeaderExtension1(EmfMetafileHeaderExtension1 header)

Initializes a new instance of the EmfMetafileHeaderExtension1 class.

Parameters:

ParameterTypeDescription
headerEmfMetafileHeaderExtension1The header.

getEmfHeaderExtension1()

public EmfHeaderExtension1 getEmfHeaderExtension1()

Gets or sets a HeaderExtension1 object, which specifies additional information about the image in the metafile.

Returns: EmfHeaderExtension1

setEmfHeaderExtension1(EmfHeaderExtension1 value)

public void setEmfHeaderExtension1(EmfHeaderExtension1 value)

Gets or sets a HeaderExtension1 object, which specifies additional information about the image in the metafile.

Parameters:

ParameterTypeDescription
valueEmfHeaderExtension1

getEmfPixelFormatBuffer()

public byte[] getEmfPixelFormatBuffer()

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

Returns: byte[]

setEmfPixelFormatBuffer(byte[] value)

public void setEmfPixelFormatBuffer(byte[] value)

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

Parameters:

ParameterTypeDescription
valuebyte[]