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

DynaPDF Manual - Page 672

Previous Page 671   Index   Next Page 673

Function Reference
Page 672 of 750
SetItalicAngle
Syntax:
LBOOL pdfSetItalicAngle(
const PPDF* IPDF, // Instance pointer
double Angle)
// Angle alpha in degrees
The property ItalicAngle is used to emulate an italic font if the font is not available in an italic style.
To avoid emulation set the angle to zero.
The italic angle must not be smaller than -30 degrees and not larger than 30 degrees.
Default value = 14.0
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
SetJPEGQuality
Syntax:
LBOOL pdfSetJPEGQuality(
const PPDF* IPDF, // Instance pointer
UI32 Value)
// Quality in percent (0..100 or 0..1000)
The function sets the quality of JPEG compressed images in percent if JPEG compression is used.
Lower values cause higher compression rates, however, worse image quality.
The function accepts also negative values. A negative value indicates that the pass-through mode for
JPEG images should be disabled. Note that JPEG images are always recompressed if the pass-
through mode is disabled.
If the JPEG2000 compression filter is used the value represents a divisor of the uncompressed image
size to the whished compressed image size. The possible range is 0 to 1000. If the value is 0 or 1000
the loss-less variant of JPEG compression is used (see also InsertImage()). Lower values cause higher
compression rates, however, worse image quality.
Default value = 70
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
 

Previous topic: SetImportFlags2

Next topic: Language Identifiers