TiffDevice

Overview

TiffDevice is a class in Aspose.PDF FOSS for .NET. Inherits from: ImageDevice.

Renders PDF document pages into TIFF image format.

This class provides 30 methods for working with TiffDevice objects in .NET programs. Available methods include: BinarizeBradley, GetBitmap, ImageDevice, Process, ProcessRange, TiffDevice. All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package. Properties: CoordinateType, FormPresentationMode, Height, RenderingOptions, Resolution, Settings, and 1 more.

Properties

NameTypeAccessDescription
SettingsTiffSettingsReadTIFF encoding settings (color depth, compression).
WidthintReadPixel width of the output bitmap.
HeightintReadPixel height of the output bitmap.
FormPresentationModeFormPresentationModeRead/WriteForm-presentation mode (Editor / Production) consulted when the page contains AcroForm widgets.
ResolutionResolutionReadRedeclares the inherited Resolution property on TiffDevice so it is discoverable directly on this type (not only via the base class).
RenderingOptionsAspose.Pdf.RenderingOptionsRead/WriteRedeclares the inherited RenderingOptions property on TiffDevice (same reason as Resolution above).
CoordinateTypePageCoordinateTypeRead/WriteWhich page box drives the rendered image extents.

Methods

SignatureDescription
TiffDevice(renderer: IPageRenderer)Calls TiffDevice on this TiffDevice instance.
TiffDevice(renderer: IPageRenderer, resolution: Resolution)
TiffDevice()
TiffDevice(resolution: Resolution)
TiffDevice(settings: TiffSettings)Creates a TiffDevice with the specified settings and default resolution.
TiffDevice(settings: TiffSettings, converter: IIndexBitmapConverter)Creates a TiffDevice with the specified settings and converter.
TiffDevice(width: int, height: int)Creates a TiffDevice with the given target dimensions and default settings.
TiffDevice(width: int, height: int, resolution: Resolution)Creates a TiffDevice with width, height, resolution, and default settings.
TiffDevice(width: int, height: int, settings: TiffSettings)Creates a TiffDevice with width, height, and settings.
TiffDevice(width: int, height: int, settings: TiffSettings, converter: IIndexBitmapConverter)Creates a TiffDevice with width, height, settings, and converter.
TiffDevice(width: int, height: int, resolution: Resolution, settings: TiffSettings)Creates a TiffDevice with width, height, resolution, and settings.
TiffDevice(width: int, height: int, resolution: Resolution, settings: TiffSettings, converter: IIndexBitmapConverter)Creates a TiffDevice with width, height, resolution, settings, and converter.
TiffDevice(pageSize: Aspose.Pdf.PageSize, settings: TiffSettings)Creates a TiffDevice with a page size and settings.
TiffDevice(pageSize: Aspose.Pdf.PageSize, settings: TiffSettings, converter: IIndexBitmapConverter)Creates a TiffDevice with a page size, settings, and converter.
TiffDevice(resolution: Resolution, settings: TiffSettings)Creates a TiffDevice with resolution and settings.
TiffDevice(resolution: Resolution, settings: TiffSettings, converter: IIndexBitmapConverter)Creates a TiffDevice with resolution, settings, and converter.
TiffDevice(pageSize: Aspose.Pdf.PageSize)Creates a TiffDevice sized to the given PageSize at the default 150 DPI.
TiffDevice(pageSize: Aspose.Pdf.PageSize, resolution: Resolution)Creates a TiffDevice sized to the given PageSize at the given Resolution.
TiffDevice(pageSize: Aspose.Pdf.PageSize, resolution: Resolution, settings: TiffSettings)PageSize + Resolution + Settings.
TiffDevice(pageSize: Aspose.Pdf.PageSize, resolution: Resolution, settings: TiffSettings, converter: IIndexBitmapConverter)PageSize + Resolution + Settings + Converter.
BinarizeBradley(inputImageStream: Stream, outputImageStream: Stream, threshold: double)Not implemented in this version — throws NotImplementedException at runtime.
Process(page: Page, output: Stream)Calls Process on this TiffDevice instance.
ProcessRange(document: Document, startPage: int, endPage: int)Render a range of pages to a single multi-page TIFF.
ProcessRange(document: Document, startPage: int, endPage: int, output: Stream)Render a range of pages to a multi-page TIFF and write to stream.
Process(document: Document, fromPage: int, toPage: int, output: Stream)Render a range of pages to TIFF.
Process(document: Document, startPage: int, endPage: int, outputFileName: string)Render a range of pages to a TIFF file.
Process(document: Document, outputFileName: string)Render all pages to a TIFF file.
Process(document: Document, output: Stream)Render all pages to a TIFF stream.
ImageDevice(resolution: Resolution)Initializes a new ImageDevice with a Resolution using the built-in SoftwarePageRenderer.
GetBitmap(page: Page)Render a page to a Bitmap.

See Also