TerInsertPageRef
Insert page reference field.
boolean TerInsertPageRef(bookmark, IsHyperlink, IsAlphabetic, repaint)
String bookmark; | The name of the bookmark to build a reference. The bookmark must already exists in the document. You can use the TerInsertBookmark function to insert a bookmark. |
boolean IsHyperlink; | Set to True to treat this page reference as a hyperlink. When the user click on this page-reference hyperlink, the cursor will jump to the referenced bookmark. The hyperlink cursor must be turned on using the ID_SHOW_HYPERLINK_CURSOR command to display the hyperlink cursor. |
boolean IsAlphabetic; | Set to True to display the page number in the alphabetic format. |
boolean repaint; | Repaint the window after this operation |
Comment: The page-reference field displays the page number where the referenced bookmark is located.
Return Value: This function returns a True value when successful, otherwise it returns a false value.