Remarks
Adds a new cell identified by a UniqueID identifier.
For further details about cells management, see the How to manage cells section
Syntax
[Visual Basic]
Public Function CellsManager.CellAdd(UniqueID as Short, fPosLeft as Single, fPosTop as Single, fWidth as Single, fHeight as Single, strText as string) as Boolean
[C#]
public bool CellsManager.CellAdd(short UniqueID, float fPosLeft, float fPosTop, float fWidth, float fHeight, String strText);
[C++]
public: bool CellsManager.CellAdd(short UniqueID, float fPosLeft, float fPosTop, float fWidth, float fHeight, String* strText);
Parameter
|
Description
|
|
|
UniqueID
|
Numerical value representing the cell's unique identifier: a control cannot have two cells with the same UniqueID
|
fPosLeft
|
Numerical value representing the initial cell's left position expressed in the scale unit specified inside the CellsManager.ScaleUnit property
|
fPosTop
|
Numerical value representing the initial cell's top position expressed in the scale unit specified inside the CellsManager.ScaleUnit property
|
fWidth
|
Numerical value representing the initial cell's width expressed in the scale unit specified inside the CellsManager.ScaleUnit property
|
fHeight
|
Numerical value representing the initial cell's height expressed in the scale unit specified inside the CellsManager.ScaleUnit property
|
strText
|
String representing the initial text displayed within the new cell
|
Return value
Value
|
Meaning
|
|
|
False
|
The operation failed
|
True
|
The operation was successful
|
|