DynaPDF Manual - Page 384

Previous Page 383   Index   Next Page 385

Function Reference
Page 384 of 839
GetDefBitsPerPixel
Syntax:
SI32 pdfGetDefBitsPerPixel(
const PPDF* IPDF) // Instance pointer
The function returns default color depth in bits per pixel, which determines whether images should
be down sampled. If the return value is 8 images are converted to 256 indexed color images.
At time of publication only two values are supported:
24 bit: No conversion
8 bit: Conversion to 256 indexed color image
Default value = 24
GetDescent
Syntax:
double pdfGetDescent(
const PPDF* IPDF) // Instance pointer
The function returns the descender of the active font. The descender is a typographic value that
specifies the maximum extent to which characters in the active font descend below the baseline.
The descender is normally a negative value. However, it is always returned as a positive value to
make the usage easier.
Return values:
If the function succeeds the return value is the typographic descender of the active font as positive
double. If the function fails the return value is a negative error code.
 

Previous topic: GetCompressionLevel, GetContent

Next topic: GetDeviceNAttributes, GetDocInfo