 | Node Constructor |
Namespace: PdfTools.Toolbox.Pdf.StructureAssembly: PdfTools.Toolbox (in PdfTools.Toolbox.dll) Version: 1.11.0+eb7160cc6b920e36fb1ea2abe5f76809067c0c55
Syntaxpublic Node(
string tag,
Document document,
Page page = null
)
Parameters
- tag String
-
Tags should conform to the Standard Structure Types described within the
PDF standard or refer to entries in the RoleMap. Allowed values from the PDF standard are:
Document, Part, Sect, Art, Div, H1, H2, H3, H4, H5, H6, P, L, LI, Lbl, LBody, Table, TR, TH,
TD, THead, TBody, TFoot, Span, Quote, Note, Reference, Figure, Caption, Artifact, Form, Field,
Link, Code, Annot, Ruby, Warichu, TOC, TOCI, Index and BibEntry.
- document Document
-
The document containing the structure element tree.
- page Page (Optional)
-
The page on which marked content associated with the structure element node
is to be found. This is optional, but is best omitted for nodes which
are not associated with marked content.
Exceptions| Exception | Condition |
|---|
| InvalidOperationException | if the object or the owning document has already been closed |
| ArgumentNullException | if tag is . |
| ArgumentNullException | if document is . |
See Also