ressources
Vue de l’ensemble
‘Résources’ est une classe dans Aspose.PDF FOSS pour Java.
Il contient un dictionnaire de ressources PDF (ISO 32000-1:2008, §7.8.3).
Cette classe fournit 12 méthodes pour travailler avec des objets de ressources dans les programmes Java. Les méthodologies disponibles comprennent: ‘Resources’, ‘getColorSpaces’, getExtGState', ‘getFonts’, ' getForms', ’getImages', ‚getPatterns, ‘getPdfDictionary’, ‘‘getProperties , 'geShadings et ‘GetXObjects’. 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 : ‘colorSpace ; 'extGstate; ‘fonts : formes, images
Propriétés
| Name | Type | Access | Description |
|---|---|---|---|
fonts | PdfDictionary | Read | Returns the /Font sub-dictionary, or null if absent. |
xObjects | PdfDictionary | Read | Returns the /XObject sub-dictionary, or null if absent. |
extGState | PdfDictionary | Read | Returns the /ExtGState sub-dictionary, or null if absent. |
colorSpaces | PdfDictionary | Read | Returns the /ColorSpace sub-dictionary, or null if absent. |
patterns | PdfDictionary | Read | Returns the /Pattern sub-dictionary, or null if absent. |
shadings | PdfDictionary | Read | Returns the /Shading sub-dictionary, or null if absent. |
properties | PdfDictionary | Read | Returns the /Properties sub-dictionary, or null if absent. |
images | XImageCollection | Read | Returns the collection of image XObjects from /XObject. |
forms | XFormCollection | Read | Returns the collection of Form XObjects from /XObject (ISO 32000-1:2008, §8.10). |
pdfDictionary | PdfDictionary | Read | Returns the underlying PDF dictionary. |
méthodes
| Signature | Description |
|---|---|
Resources(dict: PdfDictionary) | Creates a Resources wrapper around the given PDF dictionary. |
Resources(dict: PdfDictionary, parser: PDFParser) | Creates a Resources wrapper with a PDF parser for resolving indirect references. |
getFonts() → PdfDictionary | Returns the /Font sub-dictionary, or null if absent. |
getXObjects() → PdfDictionary | Returns the /XObject sub-dictionary, or null if absent. |
getExtGState() → PdfDictionary | Returns the /ExtGState sub-dictionary, or null if absent. |
getColorSpaces() → PdfDictionary | Returns the /ColorSpace sub-dictionary, or null if absent. |
getPatterns() → PdfDictionary | Returns the /Pattern sub-dictionary, or null if absent. |
getShadings() → PdfDictionary | Returns the /Shading sub-dictionary, or null if absent. |
getProperties() → PdfDictionary | Returns the /Properties sub-dictionary, or null if absent. |
getImages() → XImageCollection | Returns the collection of image XObjects from /XObject. |
getForms() → XFormCollection | Returns the collection of Form XObjects from /XObject (ISO 32000-1:2008, §8.10). |
getPdfDictionary() → PdfDictionary | Returns the underlying PDF dictionary. |
Voir aussi
- Aspose.PDF pour Java — API d’entreprise