InkAnalyzer.SynchronizingObject Property
Gets or sets the object that designates upon which thread InkAnalyzer background analysis events are raised.
Namespace: Microsoft.Ink
Assembly: Microsoft.Ink.Analysis (in microsoft.ink.analysis.dll)
Syntax
'Declaration
Public Property SynchronizingObject As ISynchronizeInvoke
'Usage
Dim instance As InkAnalyzer
Dim value As ISynchronizeInvoke
value = instance.SynchronizingObject
instance.SynchronizingObject = value
public ISynchronizeInvoke SynchronizingObject { get; set; }
public:
property ISynchronizeInvoke^ SynchronizingObject {
ISynchronizeInvoke^ get ();
void set (ISynchronizeInvoke^ value);
}
/** @property */
public ISynchronizeInvoke get_SynchronizingObject ()
/** @property */
public void set_SynchronizingObject (ISynchronizeInvoke value)
public function get SynchronizingObject () : ISynchronizeInvoke
public function set SynchronizingObject (value : ISynchronizeInvoke)
Not applicable.
Property Value
The object that designates upon which thread InkAnalyzer background analysis events are raised. The default value is a null reference (Nothing in Visual Basic).
Remarks
When the BackgroundAnalyze method is called, the InkAnalyzer performs the ink analysis on a background thread. The InkAnalyzer raises events generated by the background analysis on the thread upon which the SynchronizingObject was created. If this property is a null reference (Nothing in Visual Basic), the InkAnalyzer raises these events on the background thread.
Example
This example creates an InkAnalyzer, theInkAnalyzer
, and then sets SynchronizingObject to the enclosing object.
' Create the InkAnalyzer.
Me.theInkAnalyzer = New Microsoft.Ink.InkAnalyzer(Me.theInk, Me)
Me.theInkAnalyzer.SynchronizingObject = Me
// Create the InkAnalyzer.
this.theInkAnalyzer =
new Microsoft.Ink.InkAnalyzer(this.theInk, this);
this.theInkAnalyzer.SynchronizingObject = this;
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
Microsoft.Ink Namespace
InkAnalyzer.BackgroundAnalyze