RenderingOptions

RenderingOptions

Vue d’ensemble

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

Options pour rendre les pages PDF à des images.

Cette classe fournit 9 méthodes pour travailler avec les objets RenderingOptions dans des programmes Java. Les méthodologies disponibles comprennent: ‘RendererOption’, ‘getBackgroundColor’, getDpiX', ‘getSmoothImages’, 'setBacgroundColor' , ' setDpics', ’setDpyY', ‚setSmothImazes'. Tous les membres publics sont accessibles à toute application Java après l'installation de l’Aspose.PDF FOSS pour le package Java . Propriétés : 'background Color, ‘dpix , dpiY et ‘smootImage’.

Propriétés

NameTypeAccessDescription
smoothImagesbooleanReadReturns whether image smoothing is enabled.
backgroundColorStringReadReturns the background color.
dpiXintReadReturns the horizontal DPI.
dpiYintReadReturns the vertical DPI.

méthodes

SignatureDescription
RenderingOptions()Creates default rendering options.
isSmoothImages() → booleanReturns whether image smoothing is enabled.
setSmoothImages(smooth: boolean)Sets whether image smoothing is enabled.
getBackgroundColor() → StringReturns the background color.
setBackgroundColor(color: String)Sets the background color.
getDpiX() → intReturns the horizontal DPI.
setDpiX(dpi: int)Sets the horizontal DPI.
getDpiY() → intReturns the vertical DPI.
setDpiY(dpi: int)Sets the vertical DPI.

Voir aussi

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