ChartDirector 6.2 (.NET Edition)

CDMLTable.setCell


Usage

[C#] public ChartDirector.TextBox setCell(int col, int row, int width, int height, string text);
[VB] Public Function setCell(col As Integer, row As Integer, width As Integer, height As Integer, text As String) As ChartDirector.TextBox

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.