Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
DynaPDF.SetAnnotBorderWidth
Sets or changes the border width of an annotation.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
DynaPDF | 5.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "DynaPDF.SetAnnotBorderWidth"; PDF; AnnotationHandle; LineWidth ) More
Parameters
Parameter | Description | Example |
---|---|---|
The PDF reference returned from DynaPDF.New. | ||
AnnotationHandle | The annotation index. | 5 |
LineWidth | Line width of the border. | 2 |
Result
Returns OK or error.
Description
Sets or changes the border width of an annotation.Although the line width can be set to any positive floating point number, it should be set to full integer values between 0 through 12.
If no border should be drawn set the line width to zero.
When changing the border width of a Free Text annotation DynaPDF must rebuild the appearance stream of the annotation. The text position depends on the line width of the border. Changing the border width changes also the position of the text. See also DynaPDF.FreeTextAnnot.
See also SetAnnotBorderWidth function in DynaPDF manual.
See also
- DynaPDF.FreeTextAnnot
- DynaPDF.GetFieldBorderWidth
- DynaPDF.New
- DynaPDF.SetAnnotBorderStyle
- DynaPDF.SetFieldBorderWidth
- DynaPDF.Table.SetBorderWidth
This function checks for a license.
Created 25th November 2014, last changed 25th November 2014