SetAnnotRect
Annotationer og hotspot-links
Beskrivelse
Angiver størrelsen og placeringen af den angivne annotation.
Syntaks
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);
Parametre
| Index | Annotationens indeks. Den første annotation på siden har indeks 1 |
|---|---|
| Left | Den nye vandrette koordinat for annoteringens venstre kant |
| Top | Den nye lodrette koordinat for anmærkningens øverste kant |
| Width | Annotationens nye bredde |
| Height | Annoteringens nye højde |