GetBookmarkRange Method of the Paragraph Object
This method detects the index of the initial character and the length of the string that forms the bookmark by its name.
Syntax
C++
HRESULT GetBookmarkRange( BSTR Bookmark, int* StartPos, int* Count );
C#
void GetBookmarkRange( string Bookmark, out int StartPos, out int Count );
Visual Basic .NET
Sub GetBookmarkRange( _ Bookmark As String, _ ByRef StartPos As Integer, _ ByRef Count As Integer _ )
Parameters
- Bookmark
- [in] The name of the bookmark.
- StartPos
- [in, out] The index of the initial character of the bookmark.
- Count
- [in, out] The length of the string that forms the bookmark.
Return values
This method has no specific return values. It returns the standard return values of ABBYY FineReader Engine functions.
See also
17.09.2024 15:14:40