> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# GetBookmarkRange Method of the Paragraph Object

> GetBookmarkRange method of the Paragraph Object in the ABBYY FineReader Engine API — Returns the start index and length of the bookmarked string within the paragraph.

This method detects the index of the initial character and the length of the string that forms the bookmark by its name.

## Syntax

### C++

```cpp theme={null}
HRESULT GetBookmarkRange(
  BSTR Bookmark,
  int* StartPos,
  int* Count
);
```

### C\#

```csharp theme={null}
void GetBookmarkRange(
  string  Bookmark,
  out int StartPos,
  out int Count
);
```

### Visual Basic .NET

```vb theme={null}
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](/fine-reader/engine/api-reference/return-codes).

## See also

[Paragraph](/fine-reader/engine/api-reference/text-related-objects/paragraph)
