EmfHeaderExtension1

Inheritance: java.lang.Object, com.aspose.imaging.fileformats.emf.MetaObject, com.aspose.imaging.fileformats.emf.emf.objects.EmfObject, com.aspose.imaging.fileformats.emf.emf.objects.EmfHeaderObject

public final class EmfHeaderExtension1 extends EmfHeaderObject

The HeaderExtension1 object defines the first extension to the EMF metafile header. It adds support for a PixelFormatDescriptor object (section 2.2.22) and OpenGL [OPENGL] records (section 2.3.9).

Constructors

ConstructorDescription
EmfHeaderExtension1()

Methods

MethodDescription
getCbPixelFormat()Gets or sets a 32-bit unsigned integer that specifies the size of the PixelFormatDescriptor object.
setCbPixelFormat(int value)Gets or sets a 32-bit unsigned integer that specifies the size of the PixelFormatDescriptor object.
getOffPixelFormat()Gets or sets a 32-bit unsigned integer that specifies the offset to the PixelFormatDescriptor object.
setOffPixelFormat(int value)Gets or sets a 32-bit unsigned integer that specifies the offset to the PixelFormatDescriptor object.
getBOpenGl()Gets or sets a 32-bit unsigned integer that indicates whether OpenGL commands are present in the metafile.
setBOpenGl(int value)Gets or sets a 32-bit unsigned integer that indicates whether OpenGL commands are present in the metafile.

EmfHeaderExtension1()

public EmfHeaderExtension1()

getCbPixelFormat()

public int getCbPixelFormat()

Gets or sets a 32-bit unsigned integer that specifies the size of the PixelFormatDescriptor object. This MUST be 0x00000000 if no pixel format is set

Returns: int

setCbPixelFormat(int value)

public void setCbPixelFormat(int value)

Gets or sets a 32-bit unsigned integer that specifies the size of the PixelFormatDescriptor object. This MUST be 0x00000000 if no pixel format is set

Parameters:

ParameterTypeDescription
valueint

getOffPixelFormat()

public int getOffPixelFormat()

Gets or sets a 32-bit unsigned integer that specifies the offset to the PixelFormatDescriptor object. This MUST be 0x00000000 if no pixel format is set.

Returns: int

setOffPixelFormat(int value)

public void setOffPixelFormat(int value)

Gets or sets a 32-bit unsigned integer that specifies the offset to the PixelFormatDescriptor object. This MUST be 0x00000000 if no pixel format is set.

Parameters:

ParameterTypeDescription
valueint

getBOpenGl()

public int getBOpenGl()

Gets or sets a 32-bit unsigned integer that indicates whether OpenGL commands are present in the metafile. 0x00000000 OpenGL records are not present in the metafile. 0x00000001 OpenGL records are present in the metafile.

Returns: int

setBOpenGl(int value)

public void setBOpenGl(int value)

Gets or sets a 32-bit unsigned integer that indicates whether OpenGL commands are present in the metafile. 0x00000000 OpenGL records are not present in the metafile. 0x00000001 OpenGL records are present in the metafile.

Parameters:

ParameterTypeDescription
valueint