setMatrixValue method

Replaces an existing matrix with the computed matrix that corresponds to the input.

CSS Transitions Module Level 3, Section 10.1Internet Explorer 10

 

Syntax

var retval = MSCSSMatrix.setMatrixValue(transformValue);

Parameters

transformValue [in]

Type: DOMString

A string in the form of an acceptable value for the transform property in CSS.

Return value

Type: HRESULT

This method can return one of these values.

Return code/valueDescription
S_OK

The operation completed successfully.

SyntaxError
12

The transformValue string cannot be parsed into an MSCSSMatrix. This occurs when the string is not a valid value for the transform property, or if the string contains relative units.

 

Standards information

Remarks

Using the setMatrixValue method and setting the MSCSSMatrix attributes individually are the only ways to modify the current matrix. No other method will alter the current matrix.

See also

MSCSSMatrix

 

 

Show:
© 2014 Microsoft