NameTree Class Documentation
classNameTree : SystemIDisposableNamespace:Datalogics::PDFL
- Inherits from:
SystemIDisposable
Detailed Description
The name tree is a common data structure in PDF files.
A name tree is a type of dictionary that can store many more pairs of matched records than a standard object dictionary.
A name tree uses keys that are character strings to map to data objects. The strings can use a standard coding format, such as Unicode, are sorted in order in the data structure, and can be associated with any type of object.
Constructor & Destructor Documentation
Property Documentation
PDFDict
PDFDictPDFDict[get]Member Function Documentation
ConstructorRetrieve
static NameTreeConstructorRetrieve(System.IntPtrignored)Parameters
ignored: System.IntPtr
Returns:
NameTreeDispose
voidDispose()Returns:
voidDisposeChildren
voidDisposeChildren()Returns:
voidEnumEntries
voidEnumEntries(PDFObjectEnumProcenumProc)Parameters
enumProc: PDFObjectEnumProcA user-supplied callback to call for each indirect object in dP. Enumeration ends when enumProc returns false or all indirect objects have been enumerated. The value parameter returned in enumProc is always null.
Returns:
voidEnumerates all the entries of this NameTree.
This method does not enumerate invalid objects, which include objects that are defined as null, objects that are not defined at all (those having no cross-reference entry), and objects that are on the free list.
This re-raises any exception that enumProc raises.
Equals
override boolEquals(objectobj)Parameters
obj: object
Returns:
override boolGet
Parameters
key: PDFStringThe name of the PDFObject to get from the tree.
Returns:
- The PDFObject value corresponding to the supplied keyRetrieves an entry from this NameTree.
Put
Parameters
Returns:
voidPuts a new entry in this NameTree. If an entry with this name is already in the tree, it is replaced.
Remove
voidRemove(PDFStringkey)Parameters
key: PDFStringThe name of the PDFObject to remove from the tree.
Returns:
voidRemoves the specified PDFObject from this NameTree. It does nothing if no PDFObject of that name exists in this NameTree.
SameTypeEquals
boolSameTypeEquals(NameTreearg0)Parameters
arg0: NameTree
Returns:
bool