RegisterHeadingEx
Page layout
Description
Records a heading pointing at any page and vertical position.
Syntax
Delphi
Function TPDFlib.RegisterHeadingEx(Level: Integer; Const Title: WideString; DestPage: Integer; DestPosition: Double): Integer;Parameters
| Level | Nesting level, 1 for a top-level heading. |
|---|---|
| Title | The text to list. |
| DestPage | The page to point at. |
| DestPosition | Vertical position on that page to scroll to. |
Return values
| Count | How many headings are registered. |
|---|---|
| 0 | The level, the title or the page was not valid. |
Remarks
Same as RegisterHeading except that the target is given rather than taken from the selected page.