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

DynaPDF Manual - Page 115

Previous Page 114   Index   Next Page 116

Function Reference
Page 115 of 750
AddButtonImageEx
Syntax:
SI32 pdfAddButtonImageEx(
const PPDF* IPDF,
// Instance pointer
UI32 BtnHandle,
// Handle of the button which should get the image
TButtonState State,
// Button state, see below
const char* Caption, // Caption to be printed over the image or NULL
void* hBitmap)
// HBITMAP handle of a memory bitmap
The function adds a memory bitmap to a push button in the same ways as AddButtonImage() but
accepts a HBITMAP handle as input image. The usage of the function is described under
AddButtonImage().
Remarks:
The bitmap must not be selected into a device context when the application calls this function. This
function is not thread-safe; it must be synchronized in multi-threaded applications.
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
AddContinueText
Syntax:
SI32 pdfAddContinueText(
const PPDF* IPDF,
// Instance pointer
const char* AText) // Text to be printed
The function prints a single text line and moves the text cursor to the next line. Text lines created by
this function are handled as a separate block. Before calling the function the first time, the usage
must be prepared with BeginContinueText(). After all text lines are printed call EndContinueText()
to finish the text block.
The distance between two text lines can be adjusted with SetLeading().
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
AddDeviceNProcessColorants
Syntax:
LBOOL pdfAddDeviceNProcessColorants(
const PPDF* IPDF,
// Instance pointer
UI32 DeviceNCS,
// Handle of a DeviceN or NChannel color space
const char** Colorants,
// Array of colorant names
UI32 NumColorants,
// Number of colorants in the array
TExtColorSpace ProcessCS, // Process color space
SI32 Handle)
// Color space handle or -1
 

Previous topic: AddButtonImage

Next topic: AddDeviceNSeparations