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, IStylusSyncPluginC# public sealed class DynamicRenderer : Object,
IDisposable, IStylusSyncPluginManaged 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 DynamicRendererCachedDataGuid The Guid 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 Determines whether two Object instances are equal. Inherited from Object . Finalize Frees the resources of the current DynamicRenderer object before it is reclaimed by the garbage collector. GetHashCode 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 . GetType Gets the Type of the current instance. Inherited from Object . 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 Creates a shallow copy of the current Object . Inherited from Object . ReferenceEquals Determines whether the specified Object instances are the same instance. Inherited from Object . 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 Returns a String that represents the current Object . Inherited from Object . Properties
Property Description ClipRectangle Gets or sets the Rectangle 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
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.
Security Alert: If using under partial trust, this class and all its methods require UIPermissionWindow.SafeTopLevelWindows 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