public abstract class ImageDevice extends PageDevice
An abstract class for image devices.
Constructor and Description |
---|
ImageDevice()
Abstract initializer for
ImageDevice descendants, set resolution to 150x150. |
ImageDevice(int width,
int height)
Initializes a new instance of the
JpegDevice class with provided image dimensions and default resolution (=150). |
ImageDevice(int width,
int height,
Resolution resolution)
Initializes a new instance of the
JpegDevice class with provided image dimensions and resolution. |
ImageDevice(PageSize pageSize)
Initializes a new instance of the
JpegDevice class with provided image dimensions and default resolution (=150). |
ImageDevice(PageSize pageSize,
Resolution resolution)
Initializes a new instance of the
JpegDevice class with provided image dimensions and resolution. |
ImageDevice(Resolution resolution)
Abstract initializer for
ImageDevice descendants. |
Modifier and Type | Method and Description |
---|---|
int |
getCoordinateType()
Gets the page coordinate type (Media/Crop boxes).
|
int |
getFormPresentationMode()
Getsform presentation mode.
|
int |
getHeight()
Gets image output height.
|
RenderingOptions |
getRenderingOptions()
Gets rendering options.
|
Resolution |
getResolution()
Gets image resolution.
|
int |
getWidth()
Gets image output width.
|
void |
setConvertFontsToUnicodeTTF(boolean value)
For internal usage only
replaces fonts with TTF unicode fonts to solve compatibility issues
|
void |
setCoordinateType(int value)
Sets the page coordinate type (Media/Crop boxes).
|
void |
setFormPresentationMode(int value)
Sets form presentation mode.
|
void |
setRenderingOptions(RenderingOptions value)
Sets rendering options.
|
process, process, process, processInternal
public ImageDevice()
Abstract initializer for ImageDevice
descendants, set resolution to 150x150.
public ImageDevice(Resolution resolution)
Abstract initializer for ImageDevice
descendants.
resolution
- Resolution for the result image file, see Resolution
class.public ImageDevice(int width, int height)
Initializes a new instance of the JpegDevice
class with provided image dimensions and default resolution (=150).
width
- Image output width.height
- Image output height.public ImageDevice(PageSize pageSize)
Initializes a new instance of the JpegDevice
class with provided image dimensions and default resolution (=150).
pageSize
- Page size of the output image.public ImageDevice(int width, int height, Resolution resolution)
Initializes a new instance of the JpegDevice
class with provided image dimensions and resolution.
width
- Image output width.height
- Image output height.resolution
- Resolution for the result image file, see Resolution
class.public ImageDevice(PageSize pageSize, Resolution resolution)
Initializes a new instance of the JpegDevice
class with provided image dimensions and resolution.
pageSize
- Page size of the output image.resolution
- Resolution for the result image file, see Resolution
class.public int getCoordinateType()
Gets the page coordinate type (Media/Crop boxes). CropBox value is used by default.
public void setCoordinateType(int value)
Sets the page coordinate type (Media/Crop boxes). CropBox value is used by default.
public RenderingOptions getRenderingOptions()
Gets rendering options.
public void setRenderingOptions(RenderingOptions value)
Sets rendering options.
public int getFormPresentationMode()
Getsform presentation mode.
public void setFormPresentationMode(int value)
Sets form presentation mode.
public Resolution getResolution()
Gets image resolution.
public int getWidth()
Gets image output width.
public int getHeight()
Gets image output height.
public void setConvertFontsToUnicodeTTF(boolean value)
For internal usage only replaces fonts with TTF unicode fonts to solve compatibility issues
Copyright © 2014 Aspose. All Rights Reserved.