Class ThumbnailDevice
Contents
[
Hide
]ThumbnailDevice class
Represents image device that save pdf document pages into Thumbnail image.
public sealed class ThumbnailDevice : ImageDevice
Constructors
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
| GetBitmap(Page) | Converts the page into Bitmap. |
| 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
- class ImageDevice
- namespace Aspose.Pdf.Devices
- assembly Aspose.PDF