DynaPDF Manual - Page 759

Previous Page 758   Index   Next Page 760

Function Reference
Page 759 of 839
SetLineWidth
Syntax:
LBOOL pdfSetLineWidth(
const PPDF* IPDF, // Instance pointer
double Value)
// Line width
The function sets the line width used to stroke paths. The line width is also used to specify the
thickness of the border of annotations and interactive form fields. In the latter case, the line width
should be a multiple of one (or zero) and not exceed 3 units. Larger values are still correctly
rendered by Adobe's Acrobat but the appearance can be changed when a Reset Form Action is
executed or when other changes are made to the document.
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
SetLinkHighlightMode
Syntax:
LBOOL pdfSetLinkHighlightMode(
const PPDF* IPDF,
// Instance pointer
THighlightMode Mode) // see below
typedef enum
{
hmNone,
// Default
hmInvert,
// Invert the contents of the annotation's bounding box
hmOutline, // Invert the annotations border
hmPush,
// Simulate a push button effect
hmPushUpd
// Update the appearance stream on changes
}THighlightMode;
The function sets the highlight mode that is used by link annotations. The highlight mode applies a
visual effect when moving the mouse over a link annotation.
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
 

Previous topic: SetLineDashPatternEx (obsolete), SetLineJoinStyle

Next topic: SetListFont, SetMatrix