IUIAnimationVariable::SetUpperBound method (uianimation.h)

Sets an upper bound (ceiling) for the animation variable. The value of the animation variable should not rise above the specified value.

Syntax

HRESULT SetUpperBound(
  [in] DOUBLE bound
);

Parameters

[in] bound

The upper bound for the animation variable.

Return value

If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code. See Windows Animation Error Codes for a list of error codes.

Requirements

Requirement Value
Minimum supported client Windows 7, Windows Vista and Platform Update for Windows Vista [desktop apps | UWP apps]
Minimum supported server None supported
Target Platform Windows
Header uianimation.h
DLL UIAnimation.dll

See also

IUIAnimationVariable

IUIAnimationVariable::GetFinalIntegerValue

IUIAnimationVariable::GetFinalValue

IUIAnimationVariable::GetIntegerValue

IUIAnimationVariable::GetPreviousIntegerValue

IUIAnimationVariable::GetPreviousValue

IUIAnimationVariable::GetValue

IUIAnimationVariable::SetLowerBound