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

# DeleteBookmark Method of the Paragraph Object

> DeleteBookmark method of the Paragraph Object in the ABBYY FineReader Engine API — Deletes a bookmark (technical or user) from the paragraph by its prefixed name.

This method deletes the specified bookmark of any type (technical or user) from the paragraph. You must specify its name with the prefix.

## Syntax

### C++

```cpp theme={null}
HRESULT DeleteBookmark( BSTR Bookmark );
```

### C\#

```csharp theme={null}
void DeleteBookmark( string Bookmark );
```

### Visual Basic .NET

```vb theme={null}
Sub DeleteBookmark(Bookmark As String)
```

## Parameters

Bookmark

\[in] This variable specifies the bookmark to be deleted.

## Remarks

The user bookmarks to be deleted must be specified in the format "UserDefinedBookmark:\<my\_user\_bookmark>":

```
// Create bookmark
paragraph->SetBookmark( 0, count, L"my_user_bookmark" );
//...
//Delete bookmark
paragraph->DeleteBookmark( L"UserDefinedBookmark:my_user_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)
