IUIAnimationVariable2::SetUpperBoundVector method (uianimation.h)

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

Syntax

HRESULT SetUpperBoundVector(
  [in] const DOUBLE *bound,
  [in] UINT         cDimension
);

Parameters

[in] bound

A vector (of size cDimension) that contains the upper bound values of each dimension.

[in] cDimension

The number of dimensions that require upper bound values. This parameter specifies the number of values listed in bound.

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