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

DynaPDF Manual - Page 679

Previous Page 678   Index   Next Page 680

Function Reference
Page 679 of 750
The function sets the line join style which specifies how two line segments are connected. The
property must be applied inside an open page, template or pattern.
Style
Appearance
Description
csMiterJoin
The outer edges of the strokes for the two segments
are extended until they meet at an angle, as in a
picture frame. If the segments meet at too sharp an
angle (as defined by the miter limit parameter — see
SetMiterLimit(), a bevel join is used instead.
csRoundJoin
An arc of a circle with a diameter equal to the line
width is drawn around the point where the two
segments meet, connecting the outer edges of the
strokes for the two segments. This pie slice-shaped
figure is filled in, producing a rounded corner.
csBevelJoin
The two segments are finished with butt caps (see
SetLineCapStyle()) and the resulting notch beyond the
ends of the segments is filled with a triangle.
Default value = jsMiterJoin
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
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.
 

Previous topic: SetLineJoinStyle

Next topic: SetListFont