Snaps the specified point to the grid in the device space (pixels).

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

Syntax

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

Parameters

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

Return Value

The snapped point.

See Also