CellsManager.CellGetUniqueID method |
|
Remarks Given an index, returns the corresponding cell's UniqueID. When used in conjunction with the CellsManager.CellGetCount method, it can enumerate the UniqueID of available cells. For further details about cells management, see the How to manage cells section
Syntax
[Visual Basic] Public Function CellsManager.CellGetUniqueID(nIndex as Short) as Boolean
[C#] public bool CellsManager.CellGetUniqueID(short nIndex);
[C++] public: bool CellsManager.CellGetUniqueID(short nIndex);
Visual Basic example
Dim UniqueID As Integer Dim i As Short For i = 0 To Ctl3dPushButton1.CellsManager.CellGetCount() - 1 UniqueID = Ctl3dPushButton1.CellsManager.CellGetUniqueID(i) Console.WriteLine(UniqueID.ToString()) Next i
Visual C++ example
short nUniqueID; for (short i = 0; i < Ctl3dPushButton1.CellsManager.CellGetCount (); i++) { nUniqueID = Ctl3dPushButton1.CellsManager.CellGetUniqueID (i); Console.WriteLine (nUniqueID.ToString ()); }
Return value
|