API

AreaAnnotation command

This command adds an annotation area to the target PDF file. Annotation area properties are provided as command arguments listed in the following table:

Property

Description

BackgroundColor

Annotation area background represented as decimal code

Box

Defines annotation position on the current page

Opacity

Defines the degree to which content behind the box is hidden

PenColor

Indicates frame color

PenStyle

Indicates frame line style (solid, dash, dot, etc.)

PenWidth

Indicates frame line width in pixels

For an example of the AreaAnnotation command, see Feature-Rich PDF Annotator for C#/.NET Developers