Table of Contents

Class PdfNameTree

Namespace
iTextSharp.text.pdf
Assembly
iTextSharp.LGPLv2.Core.dll

Creates a name tree. @author Paulo Soares (psoares@consiste.pt)

public static class PdfNameTree
Inheritance
PdfNameTree
Inherited Members

Methods

ReadTree(PdfDictionary)

public static INullValueDictionary<string, PdfObject> ReadTree(PdfDictionary dic)

Parameters

dic PdfDictionary

Returns

INullValueDictionary<string, PdfObject>

WriteTree(INullValueDictionary<string, PdfObject>, PdfWriter)

Creates a name tree. and the value is a PdfObject . Note that although the keys are strings only the lower byte is used and no check is made for chars with the same lower byte and different upper byte. This will generate a wrong tree name. @throws IOException on error generally pointed to by the key /Dests, for example

public static PdfDictionary WriteTree(INullValueDictionary<string, PdfObject> items, PdfWriter writer)

Parameters

items INullValueDictionary<string, PdfObject>

the item of the name tree. The key is a String

writer PdfWriter

the writer

Returns

PdfDictionary

the dictionary with the name tree. This dictionary is the one