Class ThumbnailDevice

ThumbnailDevice class

Represents image device that save pdf document pages into Thumbnail image.

public sealed class ThumbnailDevice : ImageDevice

Constructors

NameDescription
ThumbnailDevice()Initializes a new instance of the ThumbnailDevice class with default size of thumbnail image (200x200 pixels).
ThumbnailDevice(int, int)Initializes a new instance of the ThumbnailDevice class.

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
override Process(Page, Stream)Converts the page into thumbnail image png and saves it in the output stream.
Process(Page, string)Perfoms some operation on the given page and saves results into the file.

See Also