Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5    Statistic  

DynaPDF.SetAnnotBorderWidth

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 )

Parameters

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

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.SetAnnotBorderStyle   -   DynaPDF.SetAnnotColor

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins