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

NameTypeAccessDescription
fontsPdfDictionaryReadReturns the /Font sub-dictionary, or null if absent.
xObjectsPdfDictionaryReadReturns the /XObject sub-dictionary, or null if absent.
extGStatePdfDictionaryReadReturns the /ExtGState sub-dictionary, or null if absent.
colorSpacesPdfDictionaryReadReturns the /ColorSpace sub-dictionary, or null if absent.
patternsPdfDictionaryReadReturns the /Pattern sub-dictionary, or null if absent.
shadingsPdfDictionaryReadReturns the /Shading sub-dictionary, or null if absent.
propertiesPdfDictionaryReadReturns the /Properties sub-dictionary, or null if absent.
imagesXImageCollectionReadReturns the collection of image XObjects from /XObject.
formsXFormCollectionReadReturns the collection of Form XObjects from /XObject (ISO 32000-1:2008, §8.10).
pdfDictionaryPdfDictionaryReadReturns the underlying PDF dictionary.

méthodes

SignatureDescription
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()PdfDictionaryReturns the /Font sub-dictionary, or null if absent.
getXObjects()PdfDictionaryReturns the /XObject sub-dictionary, or null if absent.
getExtGState()PdfDictionaryReturns the /ExtGState sub-dictionary, or null if absent.
getColorSpaces()PdfDictionaryReturns the /ColorSpace sub-dictionary, or null if absent.
getPatterns()PdfDictionaryReturns the /Pattern sub-dictionary, or null if absent.
getShadings()PdfDictionaryReturns the /Shading sub-dictionary, or null if absent.
getProperties()PdfDictionaryReturns the /Properties sub-dictionary, or null if absent.
getImages()XImageCollectionReturns the collection of image XObjects from /XObject.
getForms()XFormCollectionReturns the collection of Form XObjects from /XObject (ISO 32000-1:2008, §8.10).
getPdfDictionary()PdfDictionaryReturns the underlying PDF dictionary.

Voir aussi

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