Condividi tramite


InkAnalyzer.Reconcile Method (Int64)

Reconciles the portions of the analysis results that changed during background ink analysis in the specified amount of time..

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

Syntax

'Declaration
Public Function Reconcile ( _
    timeLimit As Long _
) As Boolean
'Usage
Dim instance As InkAnalyzer
Dim timeLimit As Long
Dim returnValue As Boolean

returnValue = instance.Reconcile(timeLimit)
public bool Reconcile (
    long timeLimit
)
public:
bool Reconcile (
    long long timeLimit
)
public boolean Reconcile (
    long timeLimit
)
public function Reconcile (
    timeLimit : long
) : boolean
Not applicable.

Parameters

  • timeLimit
    The length of time in milliseconds for which the application will wait to complete a transaction. This is a guideline, not a strict constraint. Valid values are 0 - (max long / 10000). An T:System.ArgumentOutOfRangeException exception will be raised if this method is called with an invalid value.

Return Value

true if there is more to reconcile, false if reconciliation is complete.

Remarks

Users may wish to have control over how long a reconcile operation takes on the UI thread. Calling reconcile with the timeLimit parameter begins a transaction that runs until the time limit is reached or until the reconciliation between the background analysis and the InkAnalyzer is complete. The InkAnalyzer raises the ResultsUpdated event only if reconciliation is complete.

At the end of a transaction the tree is guaranteed to be in a valid state. A valid state is defined by a combination of no children without parents and no parents without children. In other words, containers without nodes, leaf nodes without strokes.

The StrokesReparented event is cached until the end of a transaction and a single event is raised before Reconcile returns.

At least one transaction is completed for each call to Reconcile that has a valid time parameter.

For more information on reconciling, see

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