Method TryCellAt
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
TryCellAt(CadSpace, GeoPoint2, out string, out int, out int)
Gets the table of a space a point of the plan falls in, and its cell, the table appended last first; false where it falls in none.
public static bool TryCellAt(CadSpace space, GeoPoint2 point, out string handle, out int row, out int column)
Parameters
spaceCadSpaceThe space.
pointGeoPoint2The point.
handlestringThe table's handle.
rowintThe row, from nought.
columnintThe column, from nought.
Returns
- bool
Whether it falls in a cell.
Exceptions
- ArgumentNullException
Thrown when the space is null.