Partager via


IXRGradientBrush::GetMappingMode (Windows Embedded CE 6.0)

1/6/2010

This method retrieves a value that specifies whether the positioning coordinates of this gradient brush are absolute or relative to the output area.

Syntax

virtual HRESULT STDMETHODCALLTYPE GetMappingMode(
    __out XRBrushMappingMode* pMappingMode
) = 0;

Parameters

  • pMappingMode
    [out] Pointer to an XRBrushMappingMode enumerated value that specifies how to interpret the gradient brush's positioning coordinates.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

The pMappingMode value determines whether the positioning coordinates are fixed (in pixels), or are calculated in relation to the size of the bounding window.

.NET Framework Equivalent

System.Windows.Media.GradientBrush.MappingMode

Requirements

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

See Also

Reference

IXRGradientBrush
IXRGradientBrush::SetMappingMode