Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1   9.2    Statistic  


Sets or changes the border width of an annotation.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
DynaPDF 5.0 Yes Yes Yes Yes Yes
MBS( "DynaPDF.SetAnnotBorderWidth"; PDF; AnnotationHandle; LineWidth )   More


Parameter Description Example value
PDF The PDF reference returned from DynaPDF.New. $pdf
AnnotationHandle The annotation index. 5
LineWidth Line width of the border. 2


Returns OK or error.


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

Created 25th November 2014, last changed 25th November 2014

DynaPDF.SetAnnotBorderStyle   -   DynaPDF.SetAnnotColor

Feedback: Report problem or ask question.

MBS Xojo Plugins