TiffDevice

Vue de l’ensemble

‘TiffDevice’ est une classe dans Aspose.PDF FOSS pour Java.

Render des pages PDF au format TIFF multi-page.

Cette classe fournit 16 méthodes pour travailler avec les objets TiffDevice dans les programmes Java. Les méthodologies disponibles comprennent: ‘TiffDeVice’, ‘getHeight’, getResolution', ‘getSettings’, ' getWidth',process’. Tous les membres publics sont accessibles à n’importe quelle application Java après l’installation de l’Aspose.PDF FOSS pour le package Java . Propriétés : ‘height, 'resolution , ‘settings et 'width.

Propriétés

NameTypeAccessDescription
widthintReadReturns the explicit width set via a (width, height, …) constructor, or 0 if not set.
heightintReadReturns the explicit height set via a (width, height, …) constructor, or 0 if not set.
settingsTiffSettingsReadReturns the TIFF settings used by this device.
resolutionResolutionReadReturns the resolution used by this device.

méthodes

SignatureDescription
TiffDevice()Default 150 DPI resolution + default settings.
TiffDevice(width: int, height: int)Explicit pixel dimensions + 150 DPI + default settings.
TiffDevice(width: int, height: int, resolution: Resolution)Explicit dimensions + resolution.
TiffDevice(width: int, height: int, resolution: Resolution, settings: TiffSettings)Explicit dimensions + resolution + settings.
TiffDevice(width: int, height: int, settings: TiffSettings)Explicit dimensions + settings (default 150 DPI).
TiffDevice(settings: TiffSettings)Settings only — default 150 DPI, no explicit dimensions.
TiffDevice(pageSize: org.aspose.pdf.PageSize, settings: TiffSettings)PageSize + settings — width/height from page-size in points.
TiffDevice(resolution: Resolution)Creates a TIFF device with the given resolution.
TiffDevice(resolution: Resolution, tiffSettings: TiffSettings)Creates a TIFF device with the given resolution and settings.
getWidth()intReturns the explicit width set via a (width, height, …) constructor, or 0 if not set.
getHeight()intReturns the explicit height set via a (width, height, …) constructor, or 0 if not set.
getSettings()TiffSettingsReturns the TIFF settings used by this device.
process(document: Document, output: OutputStream)Renders all pages of a document to a multi-page TIFF.
process(document: Document, fromPage: int, toPage: int, output: OutputStream)Renders a range of pages to a multi-page TIFF.
process(page: Page, output: OutputStream)Renders a single page to TIFF.
getResolution()ResolutionReturns the resolution used by this device.

Voir aussi

  • Aspose.PDF pour Java — API d’entreprise
 Français