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

DynaPDF Manual - Page 132

Previous Page 131   Index   Next Page 133

Function Reference
Page 132 of 750
AddRenderingIntent (obsolete)
Syntax:
SI32 pdfAddRenderingIntent(
const PPDF* IPDF,
// Instance pointer
const char* ICCFile) // File path of the ICC profile
This function was incorrectly named. The correct name is AddOutputIntent(). Please use the
correctly named version instead.
AddRenderingIntentEx (obsolete)
Syntax:
SI32 pdfAddRenderingIntentEx(
const PPDF* IPDF,
// Instance pointer
const void* Buffer, // File buffer of an ICC profile
UI32 BufSize)
// Buffer size in bytes
This function was incorrectly named. The correct name is AddOutputIntentEx(). Please use the
correctly named version instead.
AddValToChoiceField
Syntax:
SI32 pdfAddValToChoiceField(
const PPDF* IPDF,
// Instance pointer
UI32 Field,
// Handle of a combo box or list box
const char* ExpValue, // Export value (can be NULL)
const char* Value,
// Visible choice value (required)
LBOOL Selected)
// Select this values?
This function adds a value to a choice field. The parameter Field must be a handle of a combo box or
list box. The parameter ExpValue defines the export value that will be submitted to a web server if the
value is selected in Adobe's Acrobat. The export value can be an empty string (NULL) and it is
possible to use one export value for multiple values.
The parameter Value is the visible text that can be selected inside the combo box or list box. Value
must be a unique string inside the combo box or list box values. Value is required; it must not be an
empty string.
If the parameter Selected is true the value appears as selected value in Adobe's Acrobat. List boxes
support multiple selected values depending on whether the flag ffMultiSelect was set or not (see
SetFieldFlags() and CreateListBox() for further information). If the flag ffMultiSelect is not set, a
selected value disables all others (default).
 

Previous topic: AddRasImage (Rendering Engine)

Next topic: Append