IXRGradientBrush::SetMappingMode (Windows Embedded CE 6.0)
1/6/2010
This method sets a value that specifies whether the positioning coordinates of this gradient brush are absolute or relative to the output area.
Syntax
virtual HRESULT STDMETHODCALLTYPE SetMappingMode(
XRBrushMappingMode MappingMode
) = 0;
Parameters
- MappingMode
[in] 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 MappingMode 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 |