RenderingOptions
Vue de l’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
| Name | Type | Access | Description |
|---|---|---|---|
smoothImages | boolean | Read | Returns whether image smoothing is enabled. |
backgroundColor | String | Read | Returns the background color. |
dpiX | int | Read | Returns the horizontal DPI. |
dpiY | int | Read | Returns the vertical DPI. |
méthodes
| Signature | Description |
|---|---|
RenderingOptions() | Creates default rendering options. |
isSmoothImages() → boolean | Returns whether image smoothing is enabled. |
setSmoothImages(smooth: boolean) | Sets whether image smoothing is enabled. |
getBackgroundColor() → String | Returns the background color. |
setBackgroundColor(color: String) | Sets the background color. |
getDpiX() → int | Returns the horizontal DPI. |
setDpiX(dpi: int) | Sets the horizontal DPI. |
getDpiY() → int | Returns the vertical DPI. |
setDpiY(dpi: int) | Sets the vertical DPI. |
Voir aussi
- Aspose.PDF pour Java — API d’entreprise