EmfHeaderExtension2

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 EmfHeaderExtension2 extends EmfHeaderObject

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.

Constructors

ConstructorDescription
EmfHeaderExtension2()

Methods

MethodDescription
getMicrometersX()Gets or sets the 32-bit horizontal size of the display device for which the metafile image was generated, in micrometers
setMicrometersX(int value)Gets or sets the 32-bit horizontal size of the display device for which the metafile image was generated, in micrometers
getMicrometersY()Gets or sets the 32-bit vertical size of the display device for which the metafile image was generated, in micrometers.
setMicrometersY(int value)Gets or sets the 32-bit vertical size of the display device for which the metafile image was generated, in micrometers.

EmfHeaderExtension2()

public EmfHeaderExtension2()

getMicrometersX()

public int getMicrometersX()

Gets or sets the 32-bit horizontal size of the display device for which the metafile image was generated, in micrometers

Returns: int

setMicrometersX(int value)

public void setMicrometersX(int value)

Gets or sets the 32-bit horizontal size of the display device for which the metafile image was generated, in micrometers

Parameters:

ParameterTypeDescription
valueint

getMicrometersY()

public int getMicrometersY()

Gets or sets the 32-bit vertical size of the display device for which the metafile image was generated, in micrometers.

Returns: int

setMicrometersY(int value)

public void setMicrometersY(int value)

Gets or sets the 32-bit vertical size of the display device for which the metafile image was generated, in micrometers.

Parameters:

ParameterTypeDescription
valueint