Glossary Item Box

DuplicateCellGetCellsCountRedrawRemoveAllCellsRemoveCellSetCell

See Also VS GridMap Help Send Feedback

GetCell

Function GetCell (ID As Object) return clsPsysCell

Fastest method

Get a cell object passing ID cell.

Use CellX and CellY for get a cell object by passing X and Y position.

The function return a object clsPsysCell type.

Dim objCell as clsPsysCell = PsysGridMap1.GetCell(CellID)

 

Function GetCell (CellX As Integer, CellY As Integer) return clsPsysCell

Slower method

Get a cell object passing X and Y position.

Use CellX and CellY for get a cell object by passing X and Y position.

The function return a object clsPsysCell type.

 

Visual Basic example:

Dim objCell as clsPsysCell = PsysGridMap1.GetCell(CellPositionX,CellPositionY)

 

DuplicateCellGetCellsCountRedrawRemoveAllCellsRemoveCellSetCell