IXRDrawingAttributes (Windows Embedded CE 6.0)

1/6/2010

This class specifies the drawing attributes of an ink stroke.

Syntax

class IXRDrawingAttributes : public IXRDependencyObject

Methods

In addition to the methods inherited from IXRDependencyObject, this class contains the following methods.

Name Description

IXRDrawingAttributes::GetColor

Retrieves the color of an ink stroke.

IXRDrawingAttributes::GetHeight

Retrieves the height of the stylus tip.

IXRDrawingAttributes::GetOutlineColor

Retrieves the outline color an ink stroke.

IXRDrawingAttributes::GetWidth

Retrieves the width of the stylus tip.

IXRDrawingAttributes::SetColor

Sets the color of an ink stroke.

IXRDrawingAttributes::SetHeight

Sets the height of the stylus tip.

IXRDrawingAttributes::SetOutlineColor

Sets the outline color of an ink stroke.

IXRDrawingAttributes::SetWidth

Sets the width of the stylus tip.

Remarks

You use the IXRDrawingAttributes class to specify drawing attributes, such as height, width, color, and outline color. You can use the IXRStroke::SetDrawingAttributes method to apply the drawing attributes to a stroke.

You can also define an IXRDrawingAttributes object in Microsoft Silverlight 2 XAML. For information about the differences between XAML in Silverlight for Windows Embedded and Silverlight 2, see Differences Between Silverlight for the Web and Silverlight for Windows Embedded. For more information about how to define this element in the source XAML for your application, see this Microsoft Web site.

Inheritance Hierarchy

IXRDependencyObject

  IXRDrawingAttributes

.NET Framework Equivalent

System.Windows.Ink.DrawingAttributes

Requirements

Header XamlRuntime.h
sysgen SYSGEN_XAML_RUNTIME
Windows Embedded CE Windows Embedded CE 6.0 R3

See Also

Reference

Classes for Ink Input