Java com.itextpdf.text.pdf PdfArray fields, constructors, methods, implement or subclass

Example usage for Java com.itextpdf.text.pdf PdfArray fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.itextpdf.text.pdf PdfArray.

The text is from its open source code.

Constructor

PdfArray()
Constructs an empty PdfArray-object.

Method

booleanadd(final PdfObject object)
Adds a PdfObject to the end of the PdfArray.
booleanadd(final float values[])
Adds an array of float values to end of the PdfArray.
booleanadd(final int values[])
Adds an array of int values to end of the PdfArray.
PdfArraygetAsArray(final int idx)
Returns a PdfObject as a PdfArray, resolving indirect references.
PdfDictionarygetAsDict(final int idx)
Returns a PdfObject as a PdfDictionary, resolving indirect references.
PdfIndirectReferencegetAsIndirectObject(final int idx)
Returns a PdfObject as a PdfIndirectReference.
PdfNamegetAsName(final int idx)
Returns a PdfObject as a PdfName, resolving indirect references.
PdfNumbergetAsNumber(final int idx)
Returns a PdfObject as a PdfNumber, resolving indirect references.
PdfStreamgetAsStream(final int idx)
Returns a PdfObject as a PdfStream, resolving indirect references.
PdfObjectgetDirectObject(final int idx)
Returns the PdfObject with the specified index, resolving a possible indirect reference to a direct object.
PdfObjectgetPdfObject(final int idx)
Returns the PdfObject with the specified index.
booleanisEmpty()
Returns true if the array is empty.
ListIteratorlistIterator()
Returns the list iterator for the array.
PdfObjectremove(final int idx)
Remove the element at the specified position from the array.
intsize()
Returns the number of entries in the array.