Represents the management of mappings from ink to the display window. Use the Renderer object to display ink in a window. You can also use it to reposition and resize strokes.
Visual Basic .NET Public Class Renderer
C# public class Renderer : Object Managed C++ public __gc class Renderer : public Object
The following table lists the members exposed by the object.
Method Description Draw Draws strokes on a Graphics or device context. Equals Determines whether two Object instances are equal. Inherited from Object . Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. Inherited from Object . 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 . GetObjectTransform Identifies the Matrix object that represents the object transform that was used to render ink. GetType Gets the Type of the current instance. Inherited from Object . GetViewTransform Identifies the Matrix object that represents the object transform that was used to render ink. InkSpaceToPixel Converts one or more locations in ink space coordinates to be in pixel space. Measure Calculates the Rectangle on the device context needed to contain the stroke or strokes to be drawn by the Renderer object. MemberwiseClone Creates a shallow copy of the current Object . Inherited from Object . Move Applies a translation to the view transform in ink space coordinates. PixelToInkSpace Converts one or more locations from pixel coordinates to ink space coordinates. ReferenceEquals Determines whether the specified Object instances are the same instance. Inherited from Object . Renderer Initializes a new instance of the Renderer class. Rotate Applies a rotation to the view transform. Scale Scales the view transform in the X and Y dimensions. SetObjectTransform Sets the Matrix object that represents the object transform that is used to render ink. SetViewTransform Sets the Matrix object that represents the view transform that is used to render ink. ToString Returns a String that represents the current Object . Inherited from Object .
Printing is also done through the Renderer object.
Namespace Microsoft.Ink Assembly Microsoft.Ink (microsoft.ink.dll) Strong Name Microsoft.Ink, Version=1.7.4009.0, Culture=neutral, PublicKeyToken=a2870d9cc4d021c8