Share via


IXRGradientBrush::GetGradientStops (Windows Embedded CE 6.0)

1/6/2010

This method retrieves this brush's gradient stops.

Syntax

virtual HRESULT STDMETHODCALLTYPE GetGradientStops(
    IXRGradientStopCollection** ppGradientStops
) = 0;

Parameters

  • ppGradientStops
    [out] Pointer to an IXRGradientStopCollection object that has a collection of IXRGradientStop objects associated with this brush. Each object specifies a color and an offset along the brush's gradient axis.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

Each gradient stop in the collection describes the offset location and color value of each transition point on the target surface.

.NET Framework Equivalent

System.Windows.Media.GradientBrush.GradientStops

Requirements

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

See Also

Reference

IXRGradientBrush
IXRGradientBrush::SetGradientStops