Click or drag to resize

NameTreeCreate Method

Retrieves the NameTree inside the '/Root/Names' dictionary with the specified key name, or creates it if it does not exist.

Namespace:  pdftron.SDF
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public static NameTree Create(
	SDFDoc doc,
	string name
)

Parameters

doc
Type: pdftron.SDFSDFDoc
The document in which the name tree is created.
name
Type: SystemString
The name of the NameTree to create.

Return Value

Type: NameTree
The newly created NameTree for the doc or an exising tree with the same key name.
Remarks
Although it is possible to create a name tree anywhere in the document the convention is that all trees are located under '/Root/Names' dictionary.
See Also