exist method

This method returns true if the document contains the specified bookmark, otherwise it returns false.

Defined in

Bookmarks

Syntax

public boolean exists( String name )

Parameters

String name

Specifies the name of the bookmark.

Return Value

exist

boolean. Return true means that the bookmark exists and return false means the bookmark does not exist.

See examples

Example: exist method