Share via


CAnimationValue::GetValue

Retrieves the current value.

BOOL GetValue(
   DOUBLE& dblValue
);
BOOL GetValue(
   INT32& nValue
);

Parameters

  • dblValue
    Output. When the function returns it contains a current value of animation variable.

  • nValue
    Output. When the function returns it contains a current value of animation variable.

Return Value

TRUE if the current value was retrieved successfully; otherwise FALSE.

Remarks

Call this function to retrieve the current value. This implementation calls the encapsulated COM object, and if the call fails, this method returns the default value that was previously set in constructor or with SetDefaultValue.

Requirements

Header: afxanimationcontroller.h

See Also

Reference

CAnimationValue Class