C++: long vtiScrollToBookmark(LPCTSTR pszPageUrl, LPCTSTR pszWebUrl, LPCTSTR pszBookmark);
VB: vtiScrollToBookmark(PageUrl as String, WebUrl as String, Bookmark as String) as Long
Description
Scrolls the display of the FrontPage Editor window to the specified bookmark in the specified HTML page.
Return Value
1 if the bookmark was found and was scrolled to
0 if the bookmark was not found in the specified document
Parameters
The typical usage is to pass in the full PageUrl and leave WebUrl empty. But for convenience, you can specify the WebUrl as an absolute URL and the PageUrl as a web-relative URL.
PageUrl is the either the full URL of the page, or a web-relative URL of the page that have the bookmark you want to scroll to.
WebURL is either NULL (if you specify a full PageUrl) or the URL of the FrontPage web which contains PageUrl.
Bookmark is the name of the HTML bookmark to which you want to scroll.