GetPageOfBookmark method

Applies to
TWPRTFDataBlock

Declaration
function GetPageOfBookmark(const BookmarkName: string): Integer;

Description
This function checks quickly if the given bookmark exist in the list of bookmarks and returns the page number if it is found. If the bookmark was not found -1 will be returned. Please note that in the BookmarkName all spaces must be replaced by '_' signs. You can use the property Name_Spaces to get such a name.


Copyright (C) by WPCUBED GmbH - Munich
http://www.wpcubed.com