Share via


InkAnalyzer.NewStrokesLoaded Event

Occurs when the Load method is called.

Namespace: System.Windows.Ink
Assembly: IAWinFX (in iawinfx.dll)
XML Namespace:  https://schemas.microsoft.com/winfx/2006/xaml/presentation

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);
}
/** @event */
public void add_NewStrokesLoaded (NewStrokesLoadedEventHandler value)

/** @event */
public void remove_NewStrokesLoaded (NewStrokesLoadedEventHandler value)
In JScript, you can handle the events defined by a class, but you cannot define your own.
Not applicable.

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 a 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 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

Version Information

.NET Framework

Supported in: 3.0

See Also

Reference

InkAnalyzer Class
InkAnalyzer Members
System.Windows.Ink Namespace