Поделиться через


InkOverlay.DynamicRendering Property

InkOverlay.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 InkOverlay object, theInkOverlay.

using Microsoft.Ink;
//. . .
private void menuInkDynamicRendering_Click(
    object sender,
    System.EventArgs e)
{
    theInkOverlay.DynamicRendering = !theInkOverlay.DynamicRendering;
    menuInkDynamicRendering.Checked = theInkOverlay.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 InkOverlay object, theInkOverlay.

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

See Also