ChartDirector 6.0 (Perl Edition)

CDMLTable.setCell


Usage

setCell(col, row, width, height, text)

Description

Sets the number of rows and columns that a cell spans, and puts text in the cell.

Arguments

ArgumentDefaultDescription
col(Mandatory)The column number of the cell. The column is numbered from left to right, with the leftmost column being 0.
row(Mandatory)The row number of the cell. The row is numbered from top to bottom, with the top row being 0.
width(Mandatory)The number of columns spanned by the cell. The cell will occupy the columns from (col) to (col + width - 1).
height(Mandatory)The number of rows spanned by the cell. The cell will occupy the rows from (row) to (row + height - 1).
text(Mandatory)The text to be put into the cell.

Return Value

A TextBox object representing the cell. This may be used to fine-tune the appearance of the cell.