The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
InkStrokeContainer class
Provides properties and methods to manage the input, processing, and manipulation of one or more InkStroke objects.
Syntax
var inkStrokeContainer = new Windows.UI.Input.Inking.InkStrokeContainer();
Attributes
- ActivatableAttribute(NTDDI_WIN8)
- DualApiPartitionAttribute()
- MarshalingBehaviorAttribute(None)
- ThreadingAttribute(STA)
- VersionAttribute(NTDDI_WIN8)
Members
The InkStrokeContainer class has these types of members:
Constructors
The InkStrokeContainer class has these constructors.
| Constructor | Description |
|---|---|
| InkStrokeContainer | Creates a new InkStrokeContainer object that is used to manage InkStroke objects. |
Methods
The InkStrokeContainer class has these methods. With C#, Visual Basic, and C++, it also inherits methods from the Object class.
| Method | Description |
|---|---|
| AddStroke | Adds one or more InkStroke objects to the collection managed by the InkManager. |
| CanPasteFromClipboard | Identifies whether content on the clipboard can be added to the InkStroke collection that is managed by the InkManager. |
| CopySelectedToClipboard | Copies the selected InkStroke objects (from the InkStroke collection managed by the InkManager) to the clipboard in Ink Serialized Format (ISF) format. |
| DeleteSelected | Deletes the selected InkStroke objects from the InkStroke collection managed by the InkManager. |
| GetRecognitionResults | Gets a collection of potential matches for each word detected by an InkRecognizer during handwriting recognition. |
| GetStrokes | Retrieves all InkStroke objects in the collection managed by the InkManager. |
| 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 potential text matches from handwriting recognition. |
Properties
The InkStrokeContainer class has these properties.
| Property | Access type | Description |
|---|---|---|
| Read-only | Gets the bounding rectangle of the InkStroke collection that is managed by the InkManager. |
Remarks
Note : This class is not agile, which means that you need to consider its threading model and marshaling behavior. For more info, see Threading and Marshaling (C++/CX) and Using Windows Runtime objects in a multithreaded environment (.NET).
Requirements
|
Minimum supported client | Windows 8 [Windows Store apps, desktop apps] |
|---|---|
|
Minimum supported server | Windows Server 2012 [Windows Store apps, desktop apps] |
|
Namespace |
|
|
Metadata |
|
See also
Build date: 12/4/2012
