ObjectReference
Overview
ObjectReference is a class in Aspose.PDF FOSS for Java.
Object reference — links a structure element to a PDF object such as an annotation (ISO 32000-1:2008, §14.7.4.3).
This class provides 4 methods for working with ObjectReference objects in Java programs.
Available methods include: ObjectReference, fromDictionary, getPage, getReferencedObject.
All public members are accessible to any Java application after installing the Aspose.PDF FOSS for Java package.
Properties: page, referencedObject.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
referencedObject | PdfDictionary | Read | Returns the referenced object dictionary. |
page | PdfDictionary | Read | Returns the page dictionary, or {@code null}. |
Methods
| Signature | Description |
|---|---|
ObjectReference(referencedObject: PdfDictionary, page: PdfDictionary) | Creates an object reference. |
getReferencedObject() → PdfDictionary | Returns the referenced object dictionary. |
getPage() → PdfDictionary | Returns the page dictionary, or {@code null}. |
fromDictionary(dict: PdfDictionary) → ObjectReference | Parses an OBJR from a PDF dictionary. |