Share via


IXRDrawingAttributes::SetWidth (Compact 2013)

3/28/2014

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

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRDrawingAttributes
IXRDrawingAttributes::GetWidth