Quick PDF logo

SetAnnotBorderStyle

Annotations and hotspot links

Version history

This function was introduced in Quick PDF Library version 7.24.

Description

Sets the border style of the specified annotation.

Syntax

Delphi

function TQuickPDF0815.SetAnnotBorderStyle(Index: Integer; Width: Double; 
  Style: Integer; DashOn, DashOff: Double): Integer;

ActiveX

Function QuickPDF0815.PDFLibrary::SetAnnotBorderStyle(Index As Long,
  Width As Double, Style As Long, DashOn As Double,
  DashOff As Double) As Long

DLL

int QuickPDFSetAnnotBorderStyle(int InstanceID, int Index, double Width, int Style,
  double DashOn, double DashOff)

Parameters

Index The index of the annotation. The first annotation on the page has an index of 1.
Width The width of the border
Style The style of the border:
0 = Solid
1 = Dashed
2 = Beveled
3 = Inset
Anything else = Solid
DashOn The length of the dash. Only valid if the border style is "dashed".
DashOff The length of the spaces betwen the dashes. Only valid if the border style is "dashed".

Copyright © 2011 Debenu. All rights reserved. AboutContactBlogNewsletterSupportBuyForum