SetAnnotRect

Annotations and hotspot links

Description

Sets the size and position of the specified annotation.

Syntax

Delphi

function TPDFlib.SetAnnotRect(Index: Integer; Left, Top, Width, Height: Double): Integer;

ActiveX

Function PDFlib::SetAnnotRect(Index As Long, Left As Double, Top As Double, Width As Double, Height As Double) As Long

DLL

int DLSetAnnotRect(int InstanceID, int Index, double Left, double Top, double Width, double Height);

Parameters

IndexThe index of the annotation. The first annotation on the page has an index of 1.
LeftThe new horizontal co-ordinate of the left edge of the annotation
TopThe new vertical co-ordinate of the top edge of the annotation
WidthThe new width of the annotation
HeightThe new height of the annotation