tblITableEditor SetCellFontInfo

Sets the font information on the selected cell.

Syntax

tblITableEditor_handle SetCellFontInfocellName, fontInfo

Application

HyperWorks Tcl Query

Inputs

cellName
The name of the cell. For example, A1.
fontInfo
The font information. For example, "{Times New Roman} 15 bold italic".

Example

set t [hw::GetT]
set activetableHandle [hwi GetActiveClientHandle ch$t]
$activetableHandle SetCellData A1 "Max"
$activetableHandle SetCellFontInfo A1 "{Times New Roman} 15 bold italic"
puts "Font used in cell A1 is [$activetableHandle GetCellFontInfo A1]"
$activetableHandle ReleaseHandle

Errors

Returns success(0) or an error code.