pdfCreateStructureTree
Open the document-root structure element with the default root
| Category | Tagged PDF / structure tree |
|---|
Purpose — Open the document-root structure element with the default root tag, starting the tagged-PDF structure tree.
Description — Forwards to pdfCreateStructureTreeEx with RootTag=btDocument — the LumasPDF-compatible ABI (which has no RootTag parameter on the base call) always uses the document tag as root.
Declarations
BOOL32 __stdcall pdfCreateStructureTree(PPDF IPDF);
function pdfCreateStructureTree(const IPDF: PPDF): LongBool; stdcall; external 'LumasPdf.dll';
Return value — TRUE on success; FALSE if a structure tree already exists on this instance (only one root is allowed) or the handle is invalid.
See also — pdfCreateStructureTreeEx
C# (P/Invoke)
[return: MarshalAs(UnmanagedType.Bool)]
Object Creation
pdfCreateStructureTree
The …A form takes UTF-8, …W
takes UTF-16; a bare name aliases the ANSI form.
Worked examples — complete programs in ten languages.