Chinese Simplified (简体中文)

DeleteBookmark Method of the Paragraph Object

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++

HRESULT DeleteBookmark( BSTR Bookmark );
    

C#

void DeleteBookmark( string Bookmark );
    

Visual Basic .NET

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.

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.