Compartir a través de


InkOverlay.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
Public Property DynamicRendering As Boolean
'Usage
Dim instance As InkOverlay
Dim value As Boolean

value = instance.DynamicRendering

instance.DynamicRendering = value
public bool DynamicRendering { get; set; }
public:
property bool DynamicRendering {
    bool get ();
    void set (bool value);
}
/** @property */
public boolean get_DynamicRendering ()

/** @property */
public void set_DynamicRendering (boolean value)
public function get DynamicRendering () : boolean

public function set DynamicRendering (value : boolean)
Not applicable.

Property Value

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.

Example

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;
}
//. . .

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

Platforms

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.

Version Information

.NET Framework

Supported in: 3.0

See Also

Reference

InkOverlay Class
InkOverlay Members
Microsoft.Ink Namespace
Ink
InkOverlay.AutoRedraw