AddLinkToArticleThread
Annotaties en hotspotkoppelingen, navigatie op paginaniveau
Beschrijving
Adds a Link annotation whose Thread action starts reading an article at a selected bead
De actie slaat indirecte thread- en bead-referenties op, wat dubbelzinnigheid voorkomt wanneer artikeltitels herhaald worden
Syntaxis
Function TPDFlib.AddLinkToArticleThread(Left, Top, Width, Height: Double; ThreadIndex, BeadIndex, Options: Integer): Integer;
Syntaxis
| Left, Top, Width, Height | De hotspotrechthoek in de huidige oorsprong en meeteenheden |
|---|---|
| ThreadIndex | De article-thread-index, beginnend bij 1 |
| BeadIndex | Een bead-index beginnend bij 1, of 0 om de eerste bead te gebruiken |
| Options | Linkappearance-vlaggen gedeeld met de andere AddLinkTo*-methoden |
Retourwaarden
Geeft 1 terug bij succes of 0 als de rechthoek, thread of bead ongeldig is
Voorbeeld
ThreadIndex := PDF.AddArticleThread(Info, Beads);
PDF.SelectPage(1);
PDF.AddLinkToArticleThread(72, 720, 180, 24, ThreadIndex, 1, 1);
Zie ook
AddArticleThread, SetOutlineArticleThread, GetAnnotActionInfo