Partager via


IXRDrawingAttributes::GetColor (Compact 2013)

3/28/2014

This method retrieves the color of an ink stroke.

Syntax

virtual HRESULT STDMETHODCALLTYPE GetColor(
    __out COLORREF* pColor
) = 0;

Parameters

  • pColor
    [out] Pointer to a COLORREF variable that indicates the 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::SetColor