Share via


IXRDrawingAttributes::SetColor (Compact 2013)

3/28/2014

This method sets the color of an ink stroke.

Syntax

virtual HRESULT STDMETHODCALLTYPE SetColor(
    __in COLORREF Color
) = 0;

Parameters

  • Color
    [in] A COLORREF value that specifies the stroke color.

Return Values

Returns a standard HRESULT value.

.NET Framework Equivalent

System.Windows.Ink.DrawingAttributes.Color

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRDrawingAttributes
IXRDrawingAttributes::GetColor