IUIAnimationVariable2::SetUpperBound method (uianimation.h)

Sets the upper bound (ceiling) for the value of 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 value of the animation variable.

Return value

Returns S_OK if successful; otherwise an HRESULT error code. See Windows Animation Error Codes for a list of error codes.

Requirements

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

See also

IUIAnimationVariable2