Snaps the specified point to the grid.

Namespace: Ico.Gwx
Assembly: GwxConfigCore (in GwxConfigCore.dll) Version: 10.97.212.0 (10.97.212.00)

Syntax

C#
public Point SnapPointToGrid(
	Point pt
)
Visual Basic
Public Function SnapPointToGrid ( _
	pt As Point _
) As Point
JScript
public function SnapPointToGrid(
	pt : Point
) : Point

Parameters

pt
Type: System.Windows..::..Point
The point to snap. The point is assumed to be in "root" space coordinates.

Return Value

The snapped point.

See Also