Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns all of the Point structures that make up the Stroke object.
Namespace: Microsoft.Ink
Assembly: Microsoft.Ink (in Microsoft.Ink.dll)
Syntax
'Declaration
Public Function GetPoints As Point()
'Usage
Dim instance As Stroke
Dim returnValue As Point()
returnValue = instance.GetPoints()
public Point[] GetPoints()
public:
array<Point>^ GetPoints()
public function GetPoints() : Point[]
Return Value
Type: array<System.Drawing.Point[]
Returns an array of Point structures that make up the Stroke object.
Examples
In this example, the points of each selected Stroke object of an InkOverlay are used to create a new Stroke object. The new Stroke object is then moved by 200 HIMETRIC units in both the X and Y direction.
For Each S As Stroke In mInkOverlay.Selection
Dim sPts() As Point = S.GetPoints()
Dim newStroke As Stroke = S.Ink.CreateStroke(sPts)
newStroke.Move(200, 200)
Next
foreach (Stroke S in mInkOverlay.Selection)
{
Point[] sPts = S.GetPoints();
Stroke newStroke = S.Ink.CreateStroke(sPts);
newStroke.Move(200, 200);
}
Platforms
Windows 7, Windows Vista, Windows Server 2008 R2, 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