IXRGradientBrush::GetMappingMode (Compact 2013)
3/28/2014
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 |