EmfDevice

Inheritance: java.lang.Object, com.aspose.pdf.devices.Device com.aspose.pdf.devices.PageDevice com.aspose.pdf.devices.ImageDevice com.aspose.pdf.devices.EmfDevice, com.aspose.pdf.devices.Device, com.aspose.pdf.devices.PageDevice com.aspose.pdf.devices.ImageDevice com.aspose.pdf.devices.EmfDevice, com.aspose.pdf.devices.PageDevice, com.aspose.pdf.devices.ImageDevice com.aspose.pdf.devices.EmfDevice, com.aspose.pdf.devices.ImageDevice, com.aspose.pdf.devices.EmfDevice

public final class EmfDevice extends ImageDevice

Represents image device that helps to save pdf document pages into emf.

Constructors

ConstructorDescription
EmfDeviceInitializes a new instance of the {@code EmfDevice} class with default resolution of raster image written to emf.
EmfDeviceInitializes a new instance of the {@code EmfDevice} class with provided image dimensions, and default resolution for the raster image written to emf (=150)
EmfDeviceInitializes a new instance of the {@code EmfDevice} class with default resolution of raster image written to emf.
EmfDeviceInitializes a new instance of the {@code EmfDevice} class with default resolution of raster image written to emf.
EmfDeviceInitializes a new instance of the {@code EmfDevice} class with default resolution of raster image written to emf.
EmfDeviceInitializes a new instance of the {@code EmfDevice} class with default resolution of raster image written to emf.

Methods

MethodDescription
processConverts the page into emf and saves it in the output stream.
processInternalConverts the page into emf and saves it in the output stream.

EmfDevice

public EmfDevice()

Initializes a new instance of the {@code EmfDevice} class with default resolution of raster image written to emf.

EmfDevice

public EmfDevice(int width, int height)

Initializes a new instance of the {@code EmfDevice} class with provided image dimensions, and default resolution for the raster image written to emf (=150)

Parameters:

ParameterTypeDescription
widthImage output width.
heightImage output height.

EmfDevice

Initializes a new instance of the {@code EmfDevice} class with default resolution of raster image written to emf.

EmfDevice

Initializes a new instance of the {@code EmfDevice} class with default resolution of raster image written to emf.

EmfDevice

Initializes a new instance of the {@code EmfDevice} class with default resolution of raster image written to emf.

EmfDevice

Initializes a new instance of the {@code EmfDevice} class with default resolution of raster image written to emf.

process

Converts the page into emf and saves it in the output stream.

processInternal

Converts the page into emf and saves it in the output stream.