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

IndexAnnotationens indeks. Den første annotation på siden har indeks 1
LeftDen nye vandrette koordinat for annoteringens venstre kant
TopDen nye lodrette koordinat for anmærkningens øverste kant
WidthAnnotationens nye bredde
HeightAnnoteringens nye højde