DynaPDF Manual - Page 372

Previous Page 371   Index   Next Page 373

Function Reference
Page 372 of 821
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
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

Start Chat