Xojo Conferences
MBSOct2019CologneDE

DynaPDF Manual - Page 99

Previous Page 98   Index   Next Page 100

Table Functions
Page 99 of 770
Remarks:
The function is available in an Ansi and Unicode compatible variant. Unicode paths are converted to
UTF-8 on non-Windows operating systems. Ansi strings are interpreted as UTF-8 if the flag
gfAnsiStringIsUTF8 is set the in the associated PDF instance. See SetGStateFlags() for further
information.
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
SetCellImageEx
Syntax:
LBOOL tblSetCellImageEx(
const ITBL* Table,
// Table pointer
SI32 Row,
// Row index or -1
SI32 Col,
// Column index or -1
LBOOL ForeGround,
// If true, the cell will be expanded if necessary
TCellAlign HAlign,
// Horizontal alignment
TCellAlign VAlign,
// Vertical alignment
float Width,
// Must be greater or equal zero
float Height,
// Must be greater or equal zero
const void* Buffer, // Image buffer
UI32 BufSize,
// Buffer size
UI32 Index)
// Image index (TIFF images only)
The function inserts an image in the same way as SetCellImage() but accepts a file buffer instead of a
file path. See SetCellImage() for further information. The function creates a copy of the image buffer.
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
 

Previous topic: SetCellImage

Next topic: SetCellOrientation, SetCellTable