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 style of an annotation.

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


Parameter Description Example value
PDF The PDF reference returned from DynaPDF.New. $pdf
AnnotationHandle The annotation index. 5
BorderStyle The new border style. Can be Solid, Bevelled, Inset, Underline, Dashed or UserDefined. "Solid"


Returns OK or error.


Sets or changes the border style of an annotation.
Note that the border style has no effect if the border width is set to zero or if the border color is set to NO_COLOR (=4294967281) (see DynaPDF.SetAnnotColor, DynaPDF.SetAnnotBorderWidth).
Note also that not all styles are meaningful for all annotation types. For example, while link annotations support all border styles, FreeText annotations support the styles Solid and Dashed only. File Aattach, Sound, Stamp, or Text annotations for example support no border style because these annotation types contain no appearance on which a border style could be applied.
Setting the border style to an unsupported value causes no error; the value will be ignored instead.
When changing the border style of a Free Text annotation DynaPDF must rebuild the appearance stream of the annotation. The text position can slightly change especially if the border width was changed too. See also DynaPDF.FreeTextAnnot.

See also SetAnnotBorderStyle function in DynaPDF manual.

See also

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

DynaPDF.SetAlpha   -   DynaPDF.SetAnnotBorderWidth

Feedback: Report problem or ask question.

MBS FileMaker blog