InkPicture.DynamicRendering Property

InkPicture.DynamicRendering Property

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

Definition

Visual Basic .NET Public Property DynamicRendering As Boolean
C# public bool DynamicRendering { get; set; }
Managed C++ public: __property bool* get_DynamicRendering();
public: __property void set_DynamicRendering(bool*);

Property Value

System.Boolean. A value that indicates whether ink is rendered as it is drawn.

This property is read/write.

true Default. Ink is rendered as it is drawn and appears on the display.
false Ink is not rendered and does not appear on the display.

Exceptions

ObjectDisposedException Leave Site:

Examples

[C#]

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

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

[Visual Basic .NET]

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.

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
  '. . .

See Also