DynaPDF Manual - Page 796
Previous Page 795 Index Next Page 797
Function Reference
Page 796 of 839
to 0. The figure below illustrates the effect of the text rise. Text rise always applies to the vertical
coordinate in text space.
The text moves around the baseline.
Default value = 0
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
SetTextScaling
Syntax:
LBOOL pdfSetTextScaling(
const PPDF* IPDF, // Instance pointer
double Value)
// Horizontal text scaling
The scaling value adjusts the width of glyphs by stretching or compressing them in the horizontal
direction. Its value is specified as a percentage of the normal width of the glyphs, with 100 being the
normal width.
Default value = 100
Value = 100
Word
Value = 50
WordWord
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
SetTransparentColor
Syntax:
LBOOL pdfSetTransparentColor(
const PPDF* IPDF, // Instance pointer
UI32 AColor)
// Color value defined in current color space
The function sets the transparent color which is used for newly inserted images. Due to color
interpolation during decompression of JPEG images, it not always possible to mask JPEG
compressed images correctly.
Default value = 0x00FFFFFF (RGB White)
Previous topic: SetTextFieldValueEx, SetTextRect, SetTextRise
Next topic: SetTrapped, SetUseExactPwd