tblITableEditor GetCellFontInfo

Returns the font information present in the queried cell.

Syntax

lITableEditor_handle GetCellFontInfocellName

Application

HyperWorks Tcl Query

Description

This command is used to get the font information corresponding to the queried cell. Returns the font information or an empty string. For example, "{Times New Roman} 15 bold italic".

Inputs

cellName
The name of the cell. For example, "A1".

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

None.