OpenSTAAD V8i

Table.SetCellTextSize

Sets the text in a particular row and column to a certain font size. The font sizes are equivalent to the ones used in Microsoft Word.

VB Syntax

Table.SetCellTextSize ReportNo, TableNo, RowNo, ColNo, FontSize

Where:

ReportNo

Long variable containing the report number.

TableNo

Long variable containing the table number.

RowNo

Long variable containing the row number.

ColNo

Long variable containing the column number.

FontSize

Double variable containing the size of the font to set the text to.

VB Example

'Get the application object --
‘Set the font size for the text in row 10 and column 6 to 18 pt
objOpenSTAAD.Table.SetCellTextSize ReportNo, TableNo, 10, 6, 16.0