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

IndexIndeksen til annotasjonen. Den første annotasjonen på siden har indeks 1
WidthKantens bredde
StyleKantstilen: 0 = Solid 1 = Dashed 2 = Beveled 3 = Inset Alt annet = Solid
DashOnLengden på streken. Gyldig bare hvis kantstilen er "dashed"
DashOffLengden på mellomrommene mellom strekene. Gyldig bare hvis kantstilen er "dashed"