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
| Constructor | Description |
|---|---|
| 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 provided image dimensions, and default resolution for the raster image written to emf (=150) |
| 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. |
Methods
| Method | Description |
|---|---|
| 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. |
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:
| Parameter | Type | Description |
|---|---|---|
| width | Image output width. | |
| height | Image 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.