SetTableCellContentA

Page layout

Description

The trailing A denotes the ANSI (char) DLL entry point; the ActiveX/COM surface exposes only the Unicode form. Behaviour is identical to SetTableCellContent and string arguments are interpreted using the current SetAnsiMode code page

Sets the content of the specified cell. The content will be drawn with the equivalent of the DrawHTMLText function, prefixed with the necessary paragraph alignment, font size and font colour tags.

Syntax

Delphi

Function DLSetTableCellContentA(InstanceID, TableID, RowNumber, ColumnNumber: Integer; HTMLText: PAnsiChar): Integer;

DLL

int DLSetTableCellContentA(int InstanceID, int TableID, int RowNumber, int ColumnNumber, const char * HTMLText);

Parameters

TableIDA TableID returned by the CreateTable function
RowNumberThe row number of the cell. Top row is row number 1.
ColumnNumberThe column number of the cell. Left most column is column number 1.
HTMLTextThe HTML text to place into the specified cell