Skip to main content
IUIAnimationVariable2::SetUpperBound method

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

bound [in]

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

Minimum supported client

Windows 8, Windows 7 and Platform Update for Windows 7 [desktop apps | Windows Store apps]

Minimum supported server

None supported

Header

UIAnimation.h

IDL

UIAnimation.idl

DLL

UIAnimation.dll

IID

IID_IUIAnimationVariable2 is defined as 4914B304-96AB-44d9-9E77-D5109B7E7466

See also

IUIAnimationVariable2