InkStroke.GetRenderingSegments Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the rendering segments of the stroke.
Note
For Universal Windows app using Extensible Application Markup Language (XAML), use GetInkPoints (see remarks).
public:
virtual IVectorView<InkStrokeRenderingSegment ^> ^ GetRenderingSegments() = GetRenderingSegments;
IVectorView<InkStrokeRenderingSegment> GetRenderingSegments();
public IReadOnlyList<InkStrokeRenderingSegment> GetRenderingSegments();
function getRenderingSegments()
Public Function GetRenderingSegments () As IReadOnlyList(Of InkStrokeRenderingSegment)
Returns
The collection of InkStrokeRenderingSegment objects.
Remarks
If FitToCurve is set to true, this method returns an InkStrokeRenderingSegment that approximates the Bezier curve of the stroke.
If FitToCurve is set to false, this method returns a collection of InkStrokeRenderingSegment objects that represent the original raw pointer data as line segments.
For Universal Windows app using Extensible Application Markup Language (XAML), avoid changing the state of an ink stroke to retrieve the raw pointer data by using GetInkPoints instead.
Applies to
See also
- Pen and stylus interactions
- Get started: Support ink in your UWP app
- Ink analysis sample (basic) (C#)
- Ink handwriting recognition sample (C#)
- Save and load ink strokes from an Ink Serialized Format (ISF) file
- Save and load ink strokes from the clipboard
- Ink toolbar location and orientation sample (basic)
- Ink toolbar location and orientation sample (dynamic)
- Coloring book sample
- Family notes sample
- Inking sample (JavaScript)
- Simple inking sample (C#/C++)
- Complex inking sample (C++)
- Ink analysis sample