Remarks
Retrieves the current size for the cell identified by a UniqueID identifier.
For further details about cells management, see the How to manage cells section
Syntax
Visual Basic
control.CellsManager.CellGetSize (UniqueID as integer, pWidth as single, pHeight as single) as boolean
Visual C++
BOOL control.CellsManager.CellGetSize (short UniqueID, float *pWidth, float *pHeight);
Parameter
|
Description
|
|
|
UniqueID
|
Numerical value representing the cell's unique identifier: a control cannot have two cells with the same UniqueID
|
pWidth
|
Pointer to a variable that will receive, on exit, the cell's width expressed in the scale unit specified inside the CellsManager.ScaleUnit property
|
pHeight
|
Pointer to a variable that will receive, on exit, the cell's height expressed in the scale unit specified inside the CellsManager.ScaleUnit property
|
Return value
Value
|
Meaning
|
|
|
FALSE
|
The operation failed
|
TRUE
|
The operation was successful
|
|