tblITableEditor GetCellAlignment

Returns the text alignment of the queried cell.

Syntax

tblITableEditor_handle GetCellAlignment cellName

Application

HyperWorks Tcl Query

Description

Used to get the text alignment of the queried cell. Returns the text alignment or an empty string.

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"
puts "Text Alignment of cell A1 is [$activetableHandle GetCellAlignment A1]"
$activetableHandle SetCellAlignment A1 center
puts "Text Alignment of cell A1 is [$activetableHandle GetCellAlignment A1]"
$activetableHandle ReleaseHandle

Errors

None.