Sdílet prostřednictvím


InkAnalyzer.NewStrokesLoaded Event

Occurs when the Load method is called.

Namespace:  System.Windows.Ink
Assembly:  IAWinFX (in IAWinFX.dll)

Syntax

'Declaration
Public Event NewStrokesLoaded As NewStrokesLoadedEventHandler
'Usage
Dim instance As InkAnalyzer 
Dim handler As NewStrokesLoadedEventHandler 

AddHandler instance.NewStrokesLoaded, handler
public event NewStrokesLoadedEventHandler NewStrokesLoaded
public:
 event NewStrokesLoadedEventHandler^ NewStrokesLoaded {
    void add (NewStrokesLoadedEventHandler^ value);
    void remove (NewStrokesLoadedEventHandler^ value);
}
JScript does not support events.

Remarks

The NewStrokesLoaded event occurs for each leaf node loaded into the InkAnalyzer. Leaf nodes include InkWordNode, InkDrawingNode, InkBulletNode, and UnclassifiedInkNode objects. The TargetNode property of the NewStrokesLoadedEventArgs is the leaf node added to the InkAnalyzer. The Strokes property is the StrokeCollection that is associated with the TargetNode.

If TargetNode is nulla null reference (Nothing in Visual Basic), the Strokes property contains strokes that are not added to the InkAnalyzer when the ink is saved. The InkAnalyzer adds the strokes unless you call the InkAnalyzer.Load(Stream, Boolean) method with the second parameter set to true.

Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

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

See Also

Reference

InkAnalyzer Class

InkAnalyzer Members

System.Windows.Ink Namespace