SetOutlineArticleThread

Outlines, page-level navigation, actions

Description

Replaces an outline item's destination or action with a Thread action that starts reading an article

The outline is changed only after the thread and optional bead have been validated

Syntax

Function TPDFlib.SetOutlineArticleThread(OutlineID, ThreadIndex, BeadIndex: Integer): Integer;

Parameters

OutlineIDAn outline handle returned by NewStaticOutline or another outline API
ThreadIndexThe 1-based article-thread index
BeadIndexA 1-based bead index, or 0 to use the first bead

Return values

Returns 1 on success or 0 without changing the outline when a handle, thread or bead is invalid

See also

AddArticleThread, AddLinkToArticleThread, GetOutlineActionInfo