Share via


IXRColorAnimation::GetFrom (Compact 2013)

3/28/2014

This method retrieves the starting value of the animation.

Syntax

virtual HRESULT STDMETHODCALLTYPE GetFrom(
    __out COLORREF* pFrom
) = 0;

Parameters

  • pFrom
    [out] Pointer to a COLORREF value that indicates the starting value of the animation.

Return Value

Returns an HRESULT that returns S_OK if successful; otherwise, returns a non-zero error code.

.NET Framework Equivalent

System.Windows.Media.Animation.ColorAnimation.From

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRColorAnimation
IXRColorAnimation::SetFrom