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
MBS(
"DynaPDF.SetAnnotBorderWidth"; /* Sets or changes the border width of an annotation. */
$PDF; /* The PDF reference returned from
DynaPDF.New. */
$AnnotationHandle; /* The annotation index.e.g. 5 */
$LineWidth) /* Line width of the border.e.g. 2 */
Less
Parameters
Parameter |
Description |
Example |
PDF |
The PDF reference returned from DynaPDF.New. |
$pdf |
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
This function checks for a license.
Created 25th November 2014, last changed 25th November 2014
DynaPDF.SetAnnotBorderStyle
-
DynaPDF.SetAnnotColor