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

Paragraph

24.03.2023 8:51:52

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.