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
| Index | The index of the annotation. The first annotation on the page has an index of 1. |
|---|---|
| Left | The new horizontal co-ordinate of the left edge of the annotation |
| Top | The new vertical co-ordinate of the top edge of the annotation |
| Width | The new width of the annotation |
| Height | The new height of the annotation |