SetDefaultStructureNamespace

Tagged PDF, PDF compatibility

Description

Selects the namespace assigned to existing unassigned structure elements and to subsequently opened elements

Syntax

Delphi

Function TPDFlib.SetDefaultStructureNamespace(NamespaceID: Integer): Integer;

DLL

Function DLSetDefaultStructureNamespace(InstanceID, NamespaceID: Integer): Integer; Stdcall;

ActiveX

Function PDFlib::SetDefaultStructureNamespace(NamespaceID As Long) As Long

Parameters

NamespaceIDIdentifier returned by AddStructureNamespace, or 0 to clear the default for future elements

Return values

0The identifier is out of range or no document is selected
1The default was selected

Remarks

SetPDFUA2Mode and accessibility-enabled SetWTPDFMode automatically select the PDF 2.0 standard structure namespace

See also

SetStructElemNamespace, GetStructureNamespaceCount