SetFormFieldBorderStyle
Description
Sets the width and line style of the specified form field's border.
Syntax
Delphi
function TQuickPDF0813.SetFormFieldBorderStyle(Index: Integer; Width: Double;
Style: Integer; DashOn, DashOff: Double): Integer;
ActiveX
Function QuickPDF0813.PDFLibrary::SetFormFieldBorderStyle(Index As Long,
Width As Double, Style As Long, DashOn As Double,
DashOff As Double) As Long
DLL
int QuickPDFSetFormFieldBorderStyle(int InstanceID, int Index, double Width,
int Style, double DashOn, double DashOff)
Parameters
| Index | The index of the form field |
| 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 space between dashes. Only valid if the border style is "dashed". |
Return values
| 0 | The form field could not be found or the parameters were invalid |
| 1 | The border style of the form field was set successfully |