"getCellGeometry"

The read-only property delivers top-left start coordinates as well as width and height of a cell.

Synopsis

shape.getCellGeometry(string id, int column, int &x, int &y, int &width, int &height);

Parameter

Parameter Description
id The cell ID
column Column ID of the cell
x x panel coordinate
y y panel coordinate
width Cell width
height Cell height

Description

The function delivers the top-left start coordinates as well as width and height of a cell in a tree widget.

The coordinates are in unscaled panel coordinates and x, y and are relative to the top-left corner of the widget.

Assignment

Tree