# Annotate

Adds and deletes annotations, and determines whether annotations exist. Use this method with the OPENMode property set to `5` (indexing enabled).

## Syntax

    bRet = KeyView.Annotate(action, position, type, bitmapFile, cbText, colorref, cursorFile)

## Parameters

Parameter | Type | Description
--- | --- | ---
`action` | Integer | `0` – delete annotation. `1` – add annotation. `2` – query annotation.
`position` | Long | Logical address to apply the annotation.
`type` | Integer | `0` – use a bitmap for the annotation. `1` – use an underline as the annotation. `2` – use a dotted underline as the annotation. Currently not implemented. `3` – use a strikethrough as the annotation. Currently not implemented.
`bitmapFile` | String | If the annotation type is bitmap, this is the bitmap file name (`*.bmp`).
`cbText` | Integer | If the annotation type is underline, this is the length of the underlined text.
`colorref` | Long | If the annotation type is underline, this is the color of the underlined text.
`cursorFile` | String | The cursor file (`*.cur`) to use when mouse hovers over the annotation.

## Returns

Type | Description
--- | ---
Boolean | `TRUE` if the method succeeds. `FALSE` if the method fails.

© Copyright 2016-2020 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm