다음을 통해 공유


DynamicRendering Property

DynamicRendering Property

Returns or sets the value that specifies whether ink is rendered as it is drawn.

Declaration

[C++]

[propput] HRESULT put_DynamicRendering ([in] VARIANT_BOOL DynamicRendering);
[propget] HRESULT get_DynamicRendering ([out, retval] VARIANT_BOOL*
    DynamicRendering);

[Microsoft® Visual Basic® 6.0]

Public Property Get DynamicRendering() As Boolean
Public Property Let DynamicRendering(ByVal isDynamic As Boolean)

Property Value

VARIANT_BOOL Returns or sets the Boolean value that specifies 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 does not appear on the display as strokes are made.

Return Value

HRESULT value Description
S_OK Success.
E_POINTER The DynamicRendering parameter is an invalid pointer.
E_INK_EXCEPTION An exception occurred.
E_INVALIDARG The specified mode is invalid.

Example

[Visual Basic 6.0]

This Visual Basic 6.0 example shows a menu item handler that toggles dynamic rendering on and off for InkCollector object, theInkCollector.

Private Sub MenuInkDynamicRendering_Click()
    theInkCollector.DynamicRendering = Not theInkCollector.DynamicRendering
    MenuInkDynamicRendering.Checked = theInkCollector.DynamicRendering
End Sub
'. . .

Applies To