SetAnnotBorderStyle
Annotationer og hotspot-links
Beskrivelse
Indstiller kanttypen for den angivne annotering.
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);
Parametre
| Index | Annotationens indeks. Den første annotation på siden har indeks 1 |
|---|---|
| Width | Kantens bredde |
| Style | Kantens stil: 0 = Fuldt optrukket 1 = Stiplet 2 = Affaset 3 = Forsænket Alt andet = Fuldt optrukket |
| DashOn | Stregens længde. Kun gyldig, hvis kanttypografien er "dashed" |
| DashOff | Længden på mellemrummene mellem stregerne. Kun gyldig, hvis kanttypen er "dashed". |