Class ImageDevice

ImageDevice class

An abstract class for image devices.

public abstract class ImageDevice : PageDevice

Constructors

NameDescription
ImageDevice()Abstract initializer for ImageDevice descendants, set resolution to 150x150.
ImageDevice(PageSize)Initializes a new instance of the JpegDevice class with provided image dimensions and default resolution (=150).
ImageDevice(Resolution)Abstract initializer for ImageDevice descendants. Resolution for the result image file, see Resolution class.
ImageDevice(int, int)Initializes a new instance of the JpegDevice class with provided image dimensions and default resolution (=150).
ImageDevice(PageSize, Resolution)Initializes a new instance of the JpegDevice class with provided image dimensions and resolution.
ImageDevice(int, int, Resolution)Initializes a new instance of the JpegDevice class with provided image dimensions and resolution.

Properties

NameDescription
CoordinateType { get; set; }Gets or sets the page coordinate type (Media/Crop boxes). CropBox value is used by default.
FormPresentationMode { get; set; }Gets or sets form presentation mode.
Height { get; }Gets image output height.
RenderingOptions { get; set; }Gets or sets rendering options.
Resolution { get; }Gets image resolution.
Width { get; }Gets image output width.

Methods

NameDescription
abstract Process(Page, Stream)Perfoms some operation on the given page, e.g. converts page into graphic image.
Process(Page, string)Perfoms some operation on the given page and saves results into the file.

See Also