Search
Grid.GetCellFromPoint Method
See Also
 





Gets the cell located at the specified point.

Namespace: MindFusion.Diagramming.Lanes
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public ICell GetCellFromPoint (
    PointF point,
    ref RectangleF cellBounds
)

Visual Basic  Copy Code

Public Function GetCellFromPoint( _
    point As PointF, _
    ByRef cellBounds As RectangleF _
) As ICell

 Parameters

point
A PointF instance specifying a point within the grid.
cellBounds
A RectangleF instance that receives the coordinates of the found cell.

 Return Value

An ICell reference to the found cell, or null (Nothing in Visual Basic) if there is no cell located at the specified point.

 See Also