|Top Previous Next|
function GetJumpPointY(id: Integer): Integer;
id – identifier of the hypertext link; links are numbered sequentially starting from FirstJumpNo.
You can use the returned value to scroll document to the position of this link (useful when implementing "Back" button functionality)
If there is no link with such id, the method returns 0 (top of the document)
This method must be called only when the document is formatted.
Note: this function contains some calculations inside (iterations through jumps, from the first jump to requested one)
See also methods:
TRichView © trichview.com