Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 12.1   12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4    Statistic    FMM    Blog  

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
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

💬 Ask a question or report a problem