Share via


InkPicture.DynamicRendering Property

Gets or sets a value that indicates whether ink is rendered as it is drawn.

Namespace:  Microsoft.Ink
Assembly:  Microsoft.Ink (in Microsoft.Ink.dll)

Syntax

'Declaration
<BrowsableAttribute(True)> _
Public Property DynamicRendering As Boolean
'Usage
Dim instance As InkPicture 
Dim value As Boolean 

value = instance.DynamicRendering

instance.DynamicRendering = value
[BrowsableAttribute(true)]
public bool DynamicRendering { get; set; }
[BrowsableAttribute(true)]
public:
property bool DynamicRendering {
    bool get ();
    void set (bool value);
}
public function get DynamicRendering () : boolean 
public function set DynamicRendering (value : boolean)

Property Value

Type: System.Boolean
true if Ink is rendered as it is drawn and appears on the display.
false if Ink is not rendered and does not appear on the display.

Examples

This C# example creates an event handler for a menu item that toggles dynamic rendering on and off for an InkPicture control, theInkPicture.

[C#]

using Microsoft.Ink;
  //. . .
  private void menuInkDynamicRendering_Click(
      object sender,
      System.EventArgs e)
  {
      theInkPicture.DynamicRendering = !theInkPicture.DynamicRendering;
      menuInkDynamicRendering.Checked = theInkPicture.DynamicRendering;
  }
  //. . .

This Microsoft® Visual Basic® .NET example creates an event handler for a menu item that toggles dynamic rendering on and off for an InkPicture control, theInkPicture.

[Visual Basic]

Imports Microsoft.Ink
  '. . .
  Private Sub MenuInkDynamicRendering_Click(ByVal sender As Object, _
  ByVal e As System.EventArgs)
      theInkPicture.DynamicRendering = Not theInkPicture.DynamicRendering
      menuInkDynamicRendering.Checked = theInkPicture.DynamicRendering
  End Sub
  '. . .

Platforms

Windows 7, Windows Vista, Windows Server 2008 R2, Windows Server 2008

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

InkPicture Class

InkPicture Members

Microsoft.Ink Namespace

Ink

InkOverlay.AutoRedraw