Resources

Overview

Resources is a class in Aspose.Pdf FOSS for Java.

Wraps a PDF resource dictionary (ISO 32000-1:2008, §7.8.3).

Properties

NameTypeAccessDescription
fontsCOSDictionaryReadReturns the /Font sub-dictionary, or null if absent.
xObjectsCOSDictionaryReadReturns the /XObject sub-dictionary, or null if absent.
extGStateCOSDictionaryReadReturns the /ExtGState sub-dictionary, or null if absent.
colorSpacesCOSDictionaryReadReturns the /ColorSpace sub-dictionary, or null if absent.
patternsCOSDictionaryReadReturns the /Pattern sub-dictionary, or null if absent.
shadingsCOSDictionaryReadReturns the /Shading sub-dictionary, or null if absent.
propertiesCOSDictionaryReadReturns the /Properties sub-dictionary, or null if absent.
imagesXImageCollectionReadReturns the collection of image XObjects from /XObject.
cOSDictionaryCOSDictionaryReadReturns the underlying COS dictionary.

Methods

SignatureDescription
Resources(dict: COSDictionary)Creates a Resources wrapper around the given COS dictionary.
Resources(dict: COSDictionary, parser: PDFParser)Creates a Resources wrapper with a PDF parser for resolving indirect references.
getFonts()COSDictionaryReturns the /Font sub-dictionary, or null if absent.
getXObjects()COSDictionaryReturns the /XObject sub-dictionary, or null if absent.
getExtGState()COSDictionaryReturns the /ExtGState sub-dictionary, or null if absent.
getColorSpaces()COSDictionaryReturns the /ColorSpace sub-dictionary, or null if absent.
getPatterns()COSDictionaryReturns the /Pattern sub-dictionary, or null if absent.
getShadings()COSDictionaryReturns the /Shading sub-dictionary, or null if absent.
getProperties()COSDictionaryReturns the /Properties sub-dictionary, or null if absent.
getImages()XImageCollectionReturns the collection of image XObjects from /XObject.
getCOSDictionary()COSDictionaryReturns the underlying COS dictionary.

See Also