public final class Resources extends Object
Class representing page resources.
Modifier and Type | Field and Description |
---|---|
com.aspose.pdf.engine.commondata.pagecontent.IResourceDictionary |
_ResourceDictionary
Internal field
|
Modifier and Type | Method and Description |
---|---|
com.aspose.pdf.engine.data.IPdfDictionary |
getEngineDict()
Internal only
|
FontCollection |
getFonts()
Gets
Fonts resources collection |
XFormCollection |
getForms()
Gets
Forms forms collection |
XImageCollection |
getImages()
Gets
Images images collection |
static Resources |
getResourcesFor(Form form)
Gets resources for
|
boolean |
isCommonResource()
True if this resources are common i.e.
|
public com.aspose.pdf.engine.commondata.pagecontent.IResourceDictionary _ResourceDictionary
public com.aspose.pdf.engine.data.IPdfDictionary getEngineDict()
Internal only
public XFormCollection getForms()
Gets Forms
forms collection
public XImageCollection getImages()
Gets Images
images collection
public FontCollection getFonts()
Gets Fonts
resources collection
public static Resources getResourcesFor(Form form)
Gets resources for
form
- Form objectpublic boolean isCommonResource()
True if this resources are common i.e. are shared for several pages (placed in pages dictionary or in every page as object reference) Manipulation with common resources must be performed very carefully for example deleting object form common resources in one page may cause errors on other pages if deleted object was used for other pages.
Copyright © 2016 Aspose. All Rights Reserved.