AddNoteAnnotation

Annotations and hotspot links

Description

Adds a note annotation to the selected page. The values of the color parameters range from 0 to 1, with 0 indicating 0% and 1 indicating 100% of the color.

Syntax

Parameters

The horizontal co-ordinate of the anchor for the annotation

Left

The vertical co-ordinate of the anchor for the annotation

Top

The annotation type:

0 = Note

1 = Comment

2 = Help

3 = Insert

4 = Key

5 = New paragraph

6 = Paragraph

Add 100 to any of the above values to suppress the date shown in the popup annotation's title

AnnotType

PopupLeft

The horizontal co-ordinate of the left edge of the popup window

PopupTop

The vertical co-ordinate of the left edge of the popup window

PopupWidth

The width of the popup window

PopupHeight

The height of the popup window

Title

The title of the annotation

Contents

The body of the popup annotation

Red

The red component of the color of the annotation

Green

The green component of the color of the annotation

Blue

The blue component of the color of the annotation

Open

Specifies whether to show the annotation when the document is opened:

0 = hide

1 = show

double PopupWidth, double PopupHeight, wchar_t * Title, wchar_t * Contents, double Red, double Green, double Blue, int Open);