GetArticleThreadBead

Page-level navigation, document properties

Description

Reads one bead from an article thread and resolves its indirect page reference to a one-based page number

Syntax

Function TPDFlib.GetArticleThreadBead(ThreadIndex, BeadIndex: Integer; Out Bead: TPDFlibArticleBead): Integer;

Parameters

ThreadIndexThe one-based article-thread index
BeadIndexThe one-based position in the article reading sequence
BeadReceives the page number and PDF user-space rectangle

Return value

Returns 1 when the bead, page reference and four-number rectangle are valid, otherwise 0

Remarks

The selected page is restored after page-reference resolution and malformed cycles are bounded by visited-object protection

See also

GetArticleThreadInfo, TPDFlibArticleBead