Ink.Dirty Property
Assembly: Microsoft.Ink (in microsoft.ink.dll)
/** @property */ public boolean get_Dirty () /** @property */ public void set_Dirty (boolean value)
public function get Dirty () : boolean public function set Dirty (value : boolean)
Not applicable.
Property Value
true if the Ink has been modified since the last time the Ink was saved; otherwise, false.After ink is saved, the Dirty property is automatically cleared and the value of this property is set to false. To save an Ink object, call the Save method.
This C# example creates message boxes to show how the Dirty property of an Ink object, theInk, changes when strokes are deleted after you call the Save method.
byte[] inkData = theInk.Save(); // Will pop up the message "False" MessageBox.Show(theInk.Dirty.ToString()); theInk.DeleteStrokes(); // Will pop up the message "True" if theInk had strokes that were deleted MessageBox.Show(theInk.Dirty.ToString());
This Microsoft Visual Basic.NET example creates message boxes to show how the Dirty property of an Ink object, theInk, changes when strokes are deleted after you call the Save method.
Dim inkData As Byte() = theInk.Save 'Will pop up the message "False" MessageBox.Show(theInk.Dirty.ToString()) theInk.DeleteStrokes() 'Will pop up the message "True" if theInk had strokes that were deleted MessageBox.Show(theInk.Dirty.ToString())
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.