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

DynaPDF Manual - Page 702

Previous Page 701   Index   Next Page 703

Function Reference
Page 702 of 750
LBOOL pdfSetSaveNewImageFormat(
const PPDF* IPDF, // Instance pointer
LBOOL Value)
// If true, images are downscaled if necessary
The property SaveNewImageFormat specifies whether images should be downscaled if the original
resolution of the image is higher than the value of the property resolution (see also SetResolution()).
If the property SaveNewImageFormat is false, JPEG compressed images will be inserted in pass-
through mode as long as the image is not a CMYK JPEG (such images must be converted because
Acrobat viewer require another byte order).
Default value = true
LBOOL pdfSetSeparationInfo(
const PPDF* IPDF, // Instance pointer
UI32 Handle)
// Separation color space handle
The function sets the separation info of the current open page. The parameter Handle must be a valid
handle of a Separation color space.
In high-end printing workflows, pages are ultimately produced as sets of separations, one per
colorant. Ordinarily, each page in a PDF file is treated as a composite page that paints graphics
objects using all the process colorants and perhaps some spot colorants as well. In other words, all
separations for a page are generated from a single PDF description of that page.
In some workflows, however, pages are pre-separated before generating the PDF file. In a pre-
separated PDF file, the separations for a page are described as separate page objects, each painting
only a single colorant (usually specified in the DeviceGray color space). When this is done,
additional information is needed to identify the actual colorant associated with each separation and
to group together the page objects representing all the separations for a given page. This information
is contained in the separation info of each page object.
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.

Previous topic: SetResolution

Next topic: SetStrokeColorEx