Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

DynaPDF Manual - Page 600

Previous Page 599   Index   Next Page 601

Function Reference
Page 600 of 750
Remarks:
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 FreeTextAnnot().
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
SetAnnotBorderWidth
Syntax:
LBOOL pdfSetAnnotBorderWidth(
const PPDF* IPDF, // Instance pointer
UI32 Handle,
// Annotation handle
double LineWidth) // Line width of the border or zero
The function 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.
Remarks:
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 FreeTextAnnot().
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
 

Previous topic: SetAnnotBorderStyle

Next topic: SetAnnotColor