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

IndexAnnotationens indeks. Den første annotation på siden har indeks 1
WidthKantens bredde
StyleKantens stil: 0 = Fuldt optrukket 1 = Stiplet 2 = Affaset 3 = Forsænket Alt andet = Fuldt optrukket
DashOnStregens længde. Kun gyldig, hvis kanttypografien er "dashed"
DashOffLængden på mellemrummene mellem stregerne. Kun gyldig, hvis kanttypen er "dashed".