IInkStrokeContainer interface

IInkStrokeContainer interface

Represents a manager for the collection of InkStroke objects rendered by the InkPresenter.

Modifications made to any of the ink strokes in the stroke container are immediately rendered to the drawing surface associated with the InkPresenter.

Syntax


public interface class IInkStrokeContainer

Members

The IInkStrokeContainer interface has these types of members:

Methods

The IInkStrokeContainer interface has these methods. It also inherits methods from the Object class.

MethodDescription
AddStroke Adds an InkStroke object to the collection managed by the InkStrokeContainer.
CanPasteFromClipboard Identifies whether content on the clipboard can be added to the InkStroke collection managed by the InkStrokeContainer.
CopySelectedToClipboard Copies the selected InkStroke objects (from the InkStroke collection managed by the InkStrokeContainer) to the clipboard in Ink Serialized Format (ISF) format.
DeleteSelected Deletes the selected InkStroke objects from the InkStroke collection managed by the InkStrokeContainer.
GetRecognitionResults Gets the collection of recognition matches previously processed by an InkRecognizer and stored in an InkRecognizerContainer.
GetStrokes Retrieves all ink strokes in the collection managed by the InkStrokeContainer.
LoadAsync Asynchronously loads all InkStroke objects from the specified stream to the InkStroke collection that is managed by the InkStrokeContainer.
MoveSelected Moves the selected strokes. All affected strokes are re-rendered.
PasteFromClipboard Adds the InkStroke content from the clipboard to the InkStroke collection that is managed by the InkStrokeContainer and renders the new strokes.
SaveAsync Asynchronously saves all InkStroke objects in the InkStroke collection that is managed by the InkStrokeContainer to the specified stream.
SelectWithLine Selects all strokes intersected by the new stroke.
SelectWithPolyLine Selects all strokes contained entirely within the polyline.
UpdateRecognitionResults Updates the collection of recognition matches previously processed by an InkRecognizer and stored in an InkRecognizerContainer.

 

Properties

The IInkStrokeContainer interface has these properties.

PropertyAccess typeDescription

BoundingRect

Read-only

Gets the bounding rectangle of the InkStroke collection managed by the InkStrokeContainer.

 

Remarks

For ink recognition, use an IInkRecognizerContainer object.

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0 [for Xbox, see UWP features that aren't yet supported on Xbox]

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.UI.Input.Inking
Windows::UI::Input::Inking [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

None supported

Namespace

Windows.UI.Input.Inking
Windows::UI::Input::Inking [C++]

Metadata

Windows.winmd

Attributes

[Version(0x06020000)]

See also

Windows.UI.Input.Inking Interfaces
InkStrokeContainer
Pen and stylus interactions
Samples
Ink sample
Simple ink sample
Complex ink sample

 

 

Show:
© 2016 Microsoft