TiffDevice
Vue de l’ensemble
‘TiffDevice’ est une classe dans Aspose.PDF FOSS pour .NET. Inhérité de: ‘ImageDavice’.
Render les pages de document PDF dans le format d’image TIFF.
Cette classe fournit 30 méthodes pour travailler avec les objets TiffDevice dans des programmes .NET. Les méthodologies disponibles comprennent: ‘BinarizeBradley’, ‘GetBitmap’, ImageDavice', ‘Process’, 'ProcesRange', ’TiffDeVice'. Tous les membres publics sont accessibles à n'importe quelle application .Net après avoir installé l'Aspose.PDF FOSS pour le package .net. Propriétés: CoordinateType, FormPresentationMode , 'Height et plus.
Propriétés
| Name | Type | Access | Description |
|---|---|---|---|
Settings | TiffSettings | Read | TIFF encoding settings (color depth, compression). |
Width | int | Read | Pixel width of the output bitmap. |
Height | int | Read | Pixel height of the output bitmap. |
FormPresentationMode | FormPresentationMode | Read/Write | Form-presentation mode (Editor / Production) consulted when the page contains AcroForm widgets. |
Resolution | Resolution | Read | Redeclares the inherited Resolution property on TiffDevice so it is discoverable directly on this type (not only via the base class). |
RenderingOptions | Aspose.Pdf.RenderingOptions | Read/Write | Redeclares the inherited RenderingOptions property on TiffDevice (same reason as Resolution above). |
CoordinateType | PageCoordinateType | Read/Write | Which page box drives the rendered image extents. |
méthodes
| Signature | Description |
|---|---|
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. |
Voir aussi
- Aspose.PDF pour .NET — API d’entreprise