Example usage for Java com.itextpdf.text.pdf PdfArray fields, constructors, methods, implement or subclass
The text is from its open source code.
PdfArray() Constructs an empty PdfArray -object. |
boolean | add(final PdfObject object) Adds a PdfObject to the end of the PdfArray . |
boolean | add(final float values[]) Adds an array of float values to end of the PdfArray . |
boolean | add(final int values[]) Adds an array of int values to end of the PdfArray . |
PdfArray | getAsArray(final int idx) Returns a PdfObject as a PdfArray , resolving indirect references. |
PdfDictionary | getAsDict(final int idx) Returns a PdfObject as a PdfDictionary , resolving indirect references. |
PdfIndirectReference | getAsIndirectObject(final int idx) Returns a PdfObject as a PdfIndirectReference . |
PdfName | getAsName(final int idx) Returns a PdfObject as a PdfName , resolving indirect references. |
PdfNumber | getAsNumber(final int idx) Returns a PdfObject as a PdfNumber , resolving indirect references. |
PdfStream | getAsStream(final int idx) Returns a PdfObject as a PdfStream , resolving indirect references. |
PdfObject | getDirectObject(final int idx) Returns the PdfObject with the specified index, resolving a possible indirect reference to a direct object. |
PdfObject | getPdfObject(final int idx) Returns the PdfObject with the specified index. |
boolean | isEmpty() Returns true if the array is empty. |
ListIterator | listIterator() Returns the list iterator for the array. |
PdfObject | remove(final int idx) Remove the element at the specified position from the array. |
int | size() Returns the number of entries in the array. |