THotPDF.SetLoadedOutlineOpen Method

Sets the default expand/collapse state for a specified bookmark (outline node) in the loaded document. When the document is opened by a reader, the child nodes of this bookmark will decide whether to expand and be visible based on this setting

Declaration

procedure SetLoadedOutlineOpen(Index: Integer; AOpen: Boolean);

Unit

HPDFDoc

Parameters

NamePurpose
IndexThe index number (zero-based) of the target bookmark or outline node whose state is to be set
AOpenTrue to show the item's children, False to fold them away again

Usage notes

This member returns no value

Usage notes

Related APIs