> ## 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.

# GetHyperlinkRange Method of the Paragraph Object

This method analyzes a single hyperlink character and detects the index of the initial character and the length of the string that forms the hyperlink. The analyzed character must have a non-null value of the [IParagraph::Hyperlink](/fine-reader/engine/api-reference/text-related-objects/paragraph/hyperlink-property) property.

## Syntax

### C++

```cpp theme={null}
HRESULT GetHyperlinkRange(
  int  Position,
  int* StartPos,
  int* Count
);
```

### C\#

```csharp theme={null}
void GetHyperlinkRange(
  int     Position,
  out int StartPos,
  out int Count
);
```

### Visual Basic .NET

```vb theme={null}
Sub GetHyperlinkRange( _
  Position As Integer, _
  ByRef StartPos As Integer, _
  ByRef Count As Integer _
)
```

## Parameters

Position

\[in] The index of the analyzed character. The analyzed character in this position must have a non-null value of the [IParagraph::Hyperlink](/fine-reader/engine/api-reference/text-related-objects/paragraph/hyperlink-property) property.

StartPos

\[in, out] The index of the initial character of the hyperlink.

Count

\[in, out] The length of the string that forms the hyperlink.

## 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)
