HiraokaHyperTools.iTextSharp-LGPL
0.2.5
|
Public Member Functions | |
PdfArray () | |
PdfArray (PdfObject obj) | |
PdfArray (float[] values) | |
PdfArray (int[] values) | |
PdfArray (ArrayList l) | |
PdfArray (PdfArray array) | |
override void | ToPdf (PdfWriter writer, Stream os) |
PdfObject | Remove (int idx) |
bool | IsEmpty () |
virtual bool | Add (PdfObject obj) |
virtual bool | Add (float[] values) |
virtual bool | Add (int[] values) |
virtual void | Add (int index, PdfObject element) |
virtual void | AddFirst (PdfObject obj) |
bool | Contains (PdfObject obj) |
ListIterator | GetListIterator () |
override string | ToString () |
PdfObject | GetDirectObject (int idx) |
PdfDictionary | GetAsDict (int idx) |
PdfArray | GetAsArray (int idx) |
PdfStream | GetAsStream (int idx) |
PdfString | GetAsString (int idx) |
PdfNumber | GetAsNumber (int idx) |
PdfName | GetAsName (int idx) |
PdfBoolean | GetAsBoolean (int idx) |
PdfIndirectReference | GetAsIndirectObject (int idx) |
IEnumerator | GetEnumerator () |
![]() | |
virtual byte[] | GetBytes () |
bool | CanBeInObjStm () |
override string | ToString () |
bool | IsNull () |
bool | IsBoolean () |
bool | IsNumber () |
bool | IsString () |
bool | IsName () |
bool | IsArray () |
bool | IsDictionary () |
bool | IsStream () |
bool | IsIndirect () |
Protected Attributes | |
ArrayList | arrayList |
![]() | |
byte[] | bytes |
int | type |
PRIndirectReference | indRef |
Properties | |
PdfObject | this[int idx] [get, set] |
ArrayList | ArrayList [get] |
int | Size [get] |
![]() | |
int | Length [get] |
string | Content [set] |
int | Type [get] |
PRIndirectReference | IndRef [get, set] |
Additional Inherited Members | |
![]() | |
const int | BOOLEAN = 1 |
const int | NUMBER = 2 |
const int | STRING = 3 |
const int | NAME = 4 |
const int | ARRAY = 5 |
const int | DICTIONARY = 6 |
const int | STREAM = 7 |
const int | NULL = 8 |
const int | INDIRECT = 10 |
const string | NOTHING = "" |
const string | TEXT_PDFDOCENCODING = "PDF" |
const string | TEXT_UNICODE = "UnicodeBig" |
![]() | |
PdfObject (int type) | |
PdfObject (int type, string content) | |
PdfObject (int type, byte[] bytes) | |
PdfArray
is the PDF Array object.
An array is a sequence of PDF objects. An array may contain a mixture of object types. An array is written as a left square bracket ([), followed by a sequence of objects, followed by a right square bracket (]).
This object is described in the 'Portable Document Format Reference Manual version 1.3' section 4.6 (page 40).
iTextSharp.text.pdf.PdfArray.PdfArray | ( | ) |
Constructs an empty PdfArray
-object.
iTextSharp.text.pdf.PdfArray.PdfArray | ( | PdfObject | obj | ) |
iTextSharp.text.pdf.PdfArray.PdfArray | ( | float[] | values | ) |
iTextSharp.text.pdf.PdfArray.PdfArray | ( | int[] | values | ) |
iTextSharp.text.pdf.PdfArray.PdfArray | ( | ArrayList | l | ) |
iTextSharp.text.pdf.PdfArray.PdfArray | ( | PdfArray | array | ) |
|
virtual |
Reimplemented in iTextSharp.text.pdf.PdfRectangle.
|
virtual |
Inserts the specified element at the specified position.
Shifts the element currently at that position (if any) and any subsequent elements to the right (adds one to their indices).
index | The index at which the specified element is to be inserted |
element | The element to be inserted |
IndexOutOfBoundsException | if the specified index is larger than the last position currently set, plus 1. |
|
virtual |
Reimplemented in iTextSharp.text.pdf.PdfRectangle.
|
virtual |
Adds a PdfObject
to the PdfArray
.
object | PdfObject to add |
true
Reimplemented in iTextSharp.text.pdf.PdfRectangle.
|
virtual |
Inserts a PdfObject
at the beginning of the PdfArray
.
The PdfObject
will be the first element, any other elements will be shifted to the right (adds one to their indices).
object | The PdfObject to add |
Reimplemented in iTextSharp.text.pdf.PdfRectangle.
bool iTextSharp.text.pdf.PdfArray.Contains | ( | PdfObject | obj | ) |
PdfArray iTextSharp.text.pdf.PdfArray.GetAsArray | ( | int | idx | ) |
PdfBoolean iTextSharp.text.pdf.PdfArray.GetAsBoolean | ( | int | idx | ) |
PdfDictionary iTextSharp.text.pdf.PdfArray.GetAsDict | ( | int | idx | ) |
PdfIndirectReference iTextSharp.text.pdf.PdfArray.GetAsIndirectObject | ( | int | idx | ) |
PdfName iTextSharp.text.pdf.PdfArray.GetAsName | ( | int | idx | ) |
PdfNumber iTextSharp.text.pdf.PdfArray.GetAsNumber | ( | int | idx | ) |
PdfStream iTextSharp.text.pdf.PdfArray.GetAsStream | ( | int | idx | ) |
PdfString iTextSharp.text.pdf.PdfArray.GetAsString | ( | int | idx | ) |
PdfObject iTextSharp.text.pdf.PdfArray.GetDirectObject | ( | int | idx | ) |
IEnumerator iTextSharp.text.pdf.PdfArray.GetEnumerator | ( | ) |
ListIterator iTextSharp.text.pdf.PdfArray.GetListIterator | ( | ) |
bool iTextSharp.text.pdf.PdfArray.IsEmpty | ( | ) |
Returns true
if the array is empty.
true
if the array is empty PdfObject iTextSharp.text.pdf.PdfArray.Remove | ( | int | idx | ) |
Remove the element at the specified position from the array.
Shifts any subsequent elements to the left (subtracts one from their indices).
idx | The index of the element to be removed. |
IndexOutOfBoundsException | the specified position doesn't exist |
|
virtual |
Returns the PDF representation of this PdfArray
.
byte
s Reimplemented from iTextSharp.text.pdf.PdfObject.
Reimplemented in iTextSharp.text.pdf.PdfDashPattern.
override string iTextSharp.text.pdf.PdfArray.ToString | ( | ) |
|
protected |
this is the actual array of PdfObjects
|
get |
Returns an ArrayList containing PdfObject
s.
|
get |
Returns the number of entries in the array.
|
getset |
Overwrites a specified location of the array.
idx | The index of the element to be overwritten |
obj | new value for the specified index |
IndexOutOfBoundsException | if the specified position doesn't exist |