Stroke.GetPoints Method

Stroke.GetPoints Method

Returns an array of Point Leave Site structures that make up the Stroke object.

Definition

Visual Basic .NET Public Function GetPoints() As Point()
C# public Point[] GetPoints();
Managed C++ public: Point* GetPoints() __gc[];

Return Value

System.Drawing.Point[]. Returns an array of Point Leave Site structures that make up the Stroke object.

Remarks

This method returns an array of floating point index values that describe the points. A floating point index is a float value that represents a location somewhere between two points in the Stroke object. As examples, if 0.0 is the first point in the stroke and 1.0 is the second point in the stroke, 0.5 is halfway between the first and second points. Similarly, a floating point index value of 37.25 represents a location that is 25 percent along the line between points 37 and 38 of the stroke.

Examples

[C#]

This C# example gets all of the Point Leave Site structures from the Stroke object, theStroke.

Point[] thePointsResult = theStroke.GetPoints();
                

[VB.NET]

This Microsoft® Visual Basic® .NET example gets all of the Point Leave Site structures from the Stroke object, theStroke.

Dim ptStrokePoints () As Point
ptStrokePoints = theStroke.GetPoints()
                

See Also