Snaps the specified point to a nearby object in the display.

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

Syntax

C#
public Point SnapPointToObjects(
	Point point,
	out string pointDescription
)
Visual Basic
Public Function SnapPointToObjects ( _
	point As Point, _
	<OutAttribute> ByRef pointDescription As String _
) As Point
JScript
public function SnapPointToObjects(
	point : Point, 
	pointDescription : String
) : Point

Parameters

point
Type: System.Windows..::..Point
A point to snap.
pointDescription
Type: System..::..String%
Returns a description for the snapped point. If no snapping occurred, returns null.

Return Value

Returns the snapped point. If no snapping occurred, returns the original point.

See Also