Partager via


IXRDrawingAttributes::SetWidth (Windows Embedded CE 6.0)

1/6/2010

This method sets the width of the stylus tip.

Syntax

virtual HRESULT STDMETHODCALLTYPE SetWidth(
    __in float Width
) = 0;

Parameters

  • Width
    [in] Specifies the width in pixels.

Return Values

Returns a standard HRESULT value.

Remarks

If you try to set the Width property to 0 (zero) pixels, it is changed to 2 pixels, the default.

.NET Framework Equivalent

System.Windows.Ink.DrawingAttributes.Width

Requirements

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

See Also

Reference

IXRDrawingAttributes
IXRDrawingAttributes::GetWidth