SetAnnotBorderStyle
Annotasjoner og hotspot-lenker
Beskrivelse
Setjer kantstilen til den angitte annotasjonen
Syntaks
Delphi
Function TPDFlib.SetAnnotBorderStyle(Index: Integer; Width: Double; Style: Integer; DashOn, DashOff: Double): Integer;
ActiveX
Function PDFlib::SetAnnotBorderStyle(Index As Long, Width As Double, Style As Long, DashOn As Double, DashOff As Double) As Long
DLL
int DLSetAnnotBorderStyle(int InstanceID, int Index, double Width, int Style, double DashOn, double DashOff);
Parametere
| Index | Indeksen til annotasjonen. Den første annotasjonen på siden har indeks 1 |
|---|---|
| Width | Kantens bredde |
| Style | Kantstilen: 0 = Solid 1 = Dashed 2 = Beveled 3 = Inset Alt annet = Solid |
| DashOn | Lengden på streken. Gyldig bare hvis kantstilen er "dashed" |
| DashOff | Lengden på mellomrommene mellom strekene. Gyldig bare hvis kantstilen er "dashed" |