Ink.NearestPoint Method (Point, Single%)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Namespace: Microsoft.Ink
Assembly: Microsoft.Ink (in Microsoft.Ink.dll)
Syntax
'Declaration
Public Function NearestPoint ( _
point As Point, _
<OutAttribute> ByRef pointOnStroke As Single _
) As Stroke
'Usage
Dim instance As Ink
Dim point As Point
Dim pointOnStroke As Single
Dim returnValue As Stroke
returnValue = instance.NearestPoint(point, _
pointOnStroke)
public Stroke NearestPoint(
Point point,
out float pointOnStroke
)
public:
Stroke^ NearestPoint(
Point point,
[OutAttribute] float% pointOnStroke
)
public function NearestPoint(
point : Point,
pointOnStroke : float
) : Stroke
member NearestPoint :
point:Point *
pointOnStroke:float32 -> Stroke
Parameters
- point
Type: System.Drawing.Point
- pointOnStroke
Type: System.Single%
Return Value
Type: Microsoft.Ink.Stroke
Platforms
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information
.NET Framework
Supported in: 3.0