Freigeben über


DynamicRenderer Class

DynamicRenderer Class

An object that displays the tablet pen data in real-time as it is being handled by the RealTimeStylus object. Later, for events such as a form refresh, the DynamicRenderer might redraw the ink.

Definition

Visual Basic .NET NotInheritable Public Class DynamicRenderer
Inherits Object
Implements IDisposable, IStylusSyncPlugin
C# public sealed class DynamicRenderer : Object,
IDisposable, IStylusSyncPlugin
Managed C++ public __gc __sealed class DynamicRenderer : public Object,
IDisposable, IStylusSyncPlugin

Members Table

The following table lists the members exposed by the object.

Fields

Field Description
static (Shared in Visual Basic .NET)DynamicRendererCachedDataGuid The Guid Leave Site that is used by a CustomStylusData object to indicate that the Data property contains DynamicRendererCachedData from a DynamicRenderer.

Methods

Method Description
Dispose Releases resources used by the object.
DynamicRenderer Creates a DynamicRenderer object.
Equals Leave Site Determines whether two Object Leave Site instances are equal. Inherited from Object Leave Site.
Finalize Frees the resources of the current DynamicRenderer object before it is reclaimed by the garbage collector.
GetHashCode Leave Site Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. Inherited from Object Leave Site.
GetType Leave Site Gets the Type Leave Site of the current instance. Inherited from Object Leave Site.
IStylusSyncPlugin.CustomStylusDataAdded This method supports the RealTimeStylus infrastructure and is not intended to be used directly from your code.
IStylusSyncPlugin.Error This method supports the RealTimeStylus infrastructure and is not intended to be used directly from your code.
IStylusSyncPlugin.InAirPackets This method supports the RealTimeStylus infrastructure and is not intended to be used directly from your code.
IStylusSyncPlugin.Packets This method supports the RealTimeStylus infrastructure and is not intended to be used directly from your code.
IStylusSyncPlugin.RealTimeStylusDisabled This method supports the RealTimeStylus infrastructure and is not intended to be used directly from your code.
IStylusSyncPlugin.RealTimeStylusEnabled This method supports the RealTimeStylus infrastructure and is not intended to be used directly from your code.
IStylusSyncPlugin.StylusButtonDown This method supports the RealTimeStylus infrastructure and is not intended to be used directly from your code.
IStylusSyncPlugin.StylusButtonUp This method supports the RealTimeStylus infrastructure and is not intended to be used directly from your code.
IStylusSyncPlugin.StylusDown This method supports the RealTimeStylus infrastructure and is not intended to be used directly from your code.
IStylusSyncPlugin.StylusInRange This method supports the RealTimeStylus infrastructure and is not intended to be used directly from your code.
IStylusSyncPlugin.StylusOutOfRange This method supports the RealTimeStylus infrastructure and is not intended to be used directly from your code.
IStylusSyncPlugin.StylusUp This method supports the RealTimeStylus infrastructure and is not intended to be used directly from your code.
IStylusSyncPlugin.SystemGesture This method supports the RealTimeStylus infrastructure and is not intended to be used directly from your code.
IStylusSyncPlugin.TabletAdded This method supports the RealTimeStylus infrastructure and is not intended to be used directly from your code.
IStylusSyncPlugin.TabletRemoved This method supports the RealTimeStylus infrastructure and is not intended to be used directly from your code.
MemberwiseClone Leave Site Creates a shallow copy of the current Object Leave Site. Inherited from Object Leave Site.
static (Shared in Visual Basic .NET)ReferenceEquals Leave Site Determines whether the specified Object Leave Site instances are the same instance. Inherited from Object Leave Site.
Refresh Causes the DynamicRenderer to refresh the data that it is currently rendering.
ReleaseCachedData Releases stroke data from the temporal data held by the DynamicRenderer.
ToString Leave Site Returns a String Leave Site that represents the current Object Leave Site. Inherited from Object Leave Site.

Properties

Property Description
ClipRectangle Gets or sets the Rectangle Leave Site structure that represents the rectangle in which to paint the dynamically rendered strokes.
DrawingAttributes Gets and sets the DrawingAttributes used by the DynamicRenderer.
Enabled Turns dynamic rendering on and off.
EnableDataCache Gets or sets whether data caching is enabled for the DynamicRender.

Inheritance Hierarchy

Object Leave Site

DynamicRenderer

Remarks

The DynamicRenderer has two categories of properties. Those for which changes take effect immediately and those for which changes take effect upon the next StylusDown notification. ClipRectangle takes immediate effect, allowing for the text input area to grow dynamically as the user writes. The others take effect after the next StylusDown.

Important Security InformationSecurity Alert: If using under partial trust, this class and all its methods require UIPermissionWindow.SafeTopLevelWindows Leave Site permission. See Security And Trust for more information.

Class Information

Namespace Microsoft.StylusInput
Assembly Microsoft.Ink (microsoft.ink.dll)
Strong Name Microsoft.Ink, Version=1.7.4009.0, Culture=neutral, PublicKeyToken=a2870d9cc4d021c8

See Also