Click to Rate and Give Feedback
MSDN
MSDN Library
Windows Versions
SDK Documentation
Microsoft Tablet PC
Tablet PC Platform
Microsoft.Ink
Classes
Renderer

  Switch on low bandwidth view
Microsoft Tablet PC - Microsoft.Ink.Renderer
Renderer Class

Renderer Class

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.

Definition

Visual Basic .NETPublic Class Renderer
Inherits Object
C#public class Renderer : Object
Managed C++public __gc class Renderer : public Object

Members Table

The following table lists the members exposed by the object.

Methods

MethodDescription
DrawDraws strokes on a Graphics Leave Site or device context.
Equals Leave SiteDetermines whether two Object Leave Site instances are equal. Inherited from Object Leave Site.
Finalize Leave SiteAllows an Object Leave Site to attempt to free resources and perform other cleanup operations before the Object Leave Site is reclaimed by garbage collection. Inherited from Object Leave Site.
GetHashCode Leave SiteServes 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.
GetObjectTransformIdentifies the Matrix Leave Site object that represents the object transform that was used to render ink.
GetType Leave SiteGets the Type Leave Site of the current instance. Inherited from Object Leave Site.
GetViewTransformIdentifies the Matrix Leave Site object that represents the object transform that was used to render ink.
InkSpaceToPixelConverts one or more locations in ink space coordinates to be in pixel space.
MeasureCalculates the Rectangle Leave Site on the device context needed to contain the stroke or strokes to be drawn by the Renderer object.
MemberwiseClone Leave SiteCreates a shallow copy of the current Object Leave Site. Inherited from Object Leave Site.
MoveApplies a translation to the view transform in ink space coordinates.
PixelToInkSpaceConverts one or more locations from pixel coordinates to ink space coordinates.
static (Shared in Visual Basic .NET)ReferenceEquals Leave SiteDetermines whether the specified Object Leave Site instances are the same instance. Inherited from Object Leave Site.
RendererInitializes a new instance of the Renderer class.
RotateApplies a rotation to the view transform.
ScaleScales the view transform in the X and Y dimensions.
SetObjectTransformSets the Matrix Leave Site object that represents the object transform that is used to render ink.
SetViewTransformSets the Matrix Leave Site object that represents the view transform that is used to render ink.
ToString Leave SiteReturns a String Leave Site that represents the current Object Leave Site. Inherited from Object Leave Site.

Inheritance Hierarchy

Object Leave Site
Renderer

Remarks

Printing is also done through the Renderer object.

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

NamespaceMicrosoft.Ink
AssemblyMicrosoft.Ink (microsoft.ink.dll)
Strong NameMicrosoft.Ink, Version=1.7.4009.0, Culture=neutral, PublicKeyToken=a2870d9cc4d021c8

See Also

© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker