HiraokaHyperTools.iTextSharp-LGPL
0.2.5
|
Static Public Attributes | |
static PdfName | FONT = PdfName.FONT |
static PdfName | OUTLINES = PdfName.OUTLINES |
static PdfName | PAGE = PdfName.PAGE |
static PdfName | PAGES = PdfName.PAGES |
static PdfName | CATALOG = PdfName.CATALOG |
![]() | |
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" |
Properties | |
ICollection | Keys [get] |
int | Size [get] |
![]() | |
int | Length [get] |
string | Content [set] |
int | Type [get] |
PRIndirectReference | IndRef [get, set] |
Additional Inherited Members | |
![]() | |
PdfObject (int type) | |
PdfObject (int type, string content) | |
PdfObject (int type, byte[] bytes) | |
![]() | |
byte[] | bytes |
int | type |
PRIndirectReference | indRef |
PdfDictionary
is the Pdf dictionary object.
A dictionary is an associative table containing pairs of objects. The first element of each pair is called the key and the second element is called the value. Unlike dictionaries in the PostScript language, a key must be a PdfName
. A value can be any kind of PdfObject
, including a dictionary. A dictionary is generally used to collect and tie together the attributes of a complex object, with each key-value pair specifying the name and value of an attribute.
A dictionary is represented by two left angle brackets (<<), followed by a sequence of key-value pairs, followed by two right angle brackets (>>).
This object is described in the 'Portable Document Format Reference Manual version 1.3' section 4.7 (page 40-41).
iTextSharp.text.pdf.PdfDictionary.PdfDictionary | ( | ) |
Constructs an empty PdfDictionary
-object.
iTextSharp.text.pdf.PdfDictionary.PdfDictionary | ( | PdfName | type | ) |
Constructs a PdfDictionary
-object of a certain type.
type | a PdfName |
bool iTextSharp.text.pdf.PdfDictionary.Contains | ( | PdfName | key | ) |
Gets a PdfObject
with a certain key from the PdfDictionary
.
key | key of the entry (a PdfName ) |
PdfBoolean iTextSharp.text.pdf.PdfDictionary.GetAsBoolean | ( | PdfName | key | ) |
PdfDictionary iTextSharp.text.pdf.PdfDictionary.GetAsDict | ( | PdfName | key | ) |
All the getAs functions will return either null, or the specified object type This function will automatically look up indirect references. There's one obvious exception, the one that will only return an indirect reference. All direct objects come back as a null. Mark A Storer (2/17/06)
key |
PdfIndirectReference iTextSharp.text.pdf.PdfDictionary.GetAsIndirectObject | ( | PdfName | key | ) |
This function behaves the same as 'get', but will never return an indirect reference, it will always look such references up and return the actual object.
key |
|
virtual |
bool iTextSharp.text.pdf.PdfDictionary.IsCatalog | ( | ) |
Checks if a Dictionary
is of the type CATALOG.
true
if it is, false
if it isn't. bool iTextSharp.text.pdf.PdfDictionary.IsFont | ( | ) |
Checks if a Dictionary
is of the type FONT.
true
if it is, false
if it isn't. bool iTextSharp.text.pdf.PdfDictionary.IsOutlineTree | ( | ) |
Checks if a Dictionary
is of the type OUTLINES.
true
if it is, false
if it isn't. bool iTextSharp.text.pdf.PdfDictionary.IsPage | ( | ) |
Checks if a Dictionary
is of the type PAGE.
true
if it is, false
if it isn't. bool iTextSharp.text.pdf.PdfDictionary.IsPages | ( | ) |
Checks if a Dictionary
is of the type PAGES.
true
if it is, false
if it isn't. void iTextSharp.text.pdf.PdfDictionary.Merge | ( | PdfDictionary | other | ) |
void iTextSharp.text.pdf.PdfDictionary.MergeDifferent | ( | PdfDictionary | other | ) |
Adds a PdfObject
and its key to the PdfDictionary
. If the value is null
or PdfNull
the key is deleted.
Adds a PdfObject
and its key to the PdfDictionary
. If the value is null it does nothing.
void iTextSharp.text.pdf.PdfDictionary.Remove | ( | PdfName | key | ) |
Removes a PdfObject
and its key from the PdfDictionary
.
key | key of the entry (a PdfName ) |
|
virtual |
Returns the PDF representation of this PdfDictionary
.
byte
Reimplemented from iTextSharp.text.pdf.PdfObject.
Reimplemented in iTextSharp.text.pdf.PRStream, iTextSharp.text.pdf.PdfStream, iTextSharp.text.pdf.PdfOutline, and iTextSharp.text.pdf.PdfEFStream.
override String iTextSharp.text.pdf.PdfDictionary.ToString | ( | ) |
|
static |
This is a possible type of dictionary
|
static |
This is a possible type of dictionary
|
static |
This is a possible type of dictionary
|
static |
This is a possible type of dictionary
|
static |
This is a possible type of dictionary
|
get |
|
get |