GetOrAddNamespace(String) Method

Definition

Assembly Broadside.dll

Returns the namespace named name that Namespaces lists, adding a namespace dictionary for it when there is none.

public PdfStructureNamespace GetOrAddNamespace(string name)

Parameters

name
String

The namespace name, such as Pdf20Name.

Returns

PdfStructureNamespace
The namespace, backed by its namespace dictionary in this document.

Remarks

ISO 32000-2 §14.7.4.2, Table 356 (PDF 2.0), Table 354 (Namespaces). A mutation when it adds one.