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


InkPicture.DynamicRendering - свойство

Обновлен: Ноябрь 2007

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

Пространство имен:  Microsoft.Ink
Сборка:  Microsoft.Ink (в Microsoft.Ink.dll)

Синтаксис

'Декларация
<BrowsableAttribute(True)> _
Public Property DynamicRendering As Boolean
'Применение
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);
}
/** @property */
/** @attribute BrowsableAttribute(true) */
public boolean get_DynamicRendering()
/** @property */
/** @attribute BrowsableAttribute(true) */
public  void set_DynamicRendering(boolean value)
public function get DynamicRendering () : boolean
public function set DynamicRendering (value : boolean)

Значение свойства

Тип: 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.

Примеры

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

Платформы

Windows Vista

Среды .NET Framework и .NET Compact Framework поддерживают не все версии каждой платформы. Поддерживаемые версии перечислены в разделе Требования к системе для .NET Framework.

Сведения о версии

.NET Framework

Поддерживается в версии: 3.0

См. также

Ссылки

InkPicture Класс

InkPicture - члены

Microsoft.Ink - пространство имен

Ink

InkOverlay.AutoRedraw