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

# SetHyperlink Method of the Paragraph Object

This method sets a hyperlink to a string within a paragraph.

## Syntax

### C++

```cpp theme={null}
HRESULT SetHyperlink(
  int         Position,
  int         Count,
  IHyperlink* Value
);
```

### C\#

```csharp theme={null}
void SetHyperlink(
  int       Position,
  int       Count,
  IHyperlink Value
);
```

### Visual Basic .NET

```vb theme={null}
Sub SetHyperlink( _
  Position As Integer, _
  Count As Integer, _
  Value As IHyperlink _
)
```

## Parameters

Position

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

Count

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

Value

\[in] This variable specifies the [Hyperlink](/fine-reader/engine/api-reference/text-related-objects/hyperlink) to be set.

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