Compartir a través de


InkCollector.DynamicRendering Property

InkCollector.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 the InkCollector object, theInkCollector.

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

[VB.NET]

This Microsoft® Visual Basic® .NET example creates an event handler for a menu item that toggles dynamic rendering on and off for the InkCollector object, theInkCollector.

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

See Also