ClearDocumentPartHierarchy

Document parts, variable data, document editing

Description

Removes every page /DPart link and the catalog /DPartRoot link

Syntax

Delphi

Function TPDFlib.ClearDocumentPartHierarchy: Integer;

DLL

int DLClearDocumentPartHierarchy(int InstanceID);

ActiveX

Function PDFlib::ClearDocumentPartHierarchy() As Long

Return values

Returns 1 on success or 0 when no selected mutable document is available

Remarks

Detached indirect objects become unreachable and can be reclaimed by a later garbage-collecting rewrite

See also

BeginDocumentPartHierarchy, GetDocumentPartCount