DynaPDF Manual - Page 438

Previous Page 437   Index   Next Page 439

Function Reference
Page 438 of 821
GetLeading
Syntax:
double pdfGetLeading(
const PPDF* IPDF) // Instance pointer
The function returns the current leading. The leading is the distance between two text lines. The
default leading in PDF is the font size. The property is used by the function AddContinueText() and
WriteFText(). A value of 0 determines that the font size should be used as leading, this is the default
behaviour.
Default value = 0
GetLineCapStyle
Syntax:
SI32 pdfGetLineCapStyle(
const PPDF* IPDF) // Instance pointer
typedef enum
{
csButtCap
= 0,
csRoundCap
= 1,
csSquareCap
= 2
}TLineCapStyle;
The function returns the current line cap style used for vector graphics. The meaning of the values
are described in detail under SetLineCapStyle().
Default value = csButtCap
GetLineJoinStyle
Syntax:
SI32 pdfGetLineJoinStyle(
const PPDF* IPDF) // Instance pointer
typedef enum
{
jsMiterJoin = 0,
jsRoundJoin = 1,
jsBevelJoin = 2
}TLineJoinStyle;
The function returns the current line join style used for vector graphics. The meaning of the values
are described in detail under SetLineJoinStyle().
Default value = jsMiterJoin
 

Previous topic: GetLayerConfig, GetLayerConfigCount

Next topic: GetLineWidth, GetLinkHighlightMode, GetLogMetafileSize


Start Chat