Append Method
This documentation is archived and is not being maintained.

Matrix.Append Method

Appends the specified Matrix structure to this Matrix structure.

Namespace:  System.Windows.Media
Assembly:  WindowsBase (in WindowsBase.dll)

public void Append(
	Matrix matrix
)
You cannot use methods in XAML.

Parameters

matrix
Type: System.Windows.Media.Matrix

The Matrix structure to append to this Matrix structure.

This operation is the same as multiplying this Matrix structure by the parameter matrix. Matrix multiplication is not commutative, though, so this operation is not the same as multiplying the parameter matrix by this Matrix structure; that is, (this * matrix) is not the same as (matrix * this).

The following example shows how to append a Matrix structure to another Matrix structure.

private Matrix rotateAboutPointExample()
{

    // Creating a Matrix structure.
    Matrix myMatrix = new Matrix(5, 10, 15, 20, 25, 30);

    // Rotate the matrix 90 degrees about the point (100,100). 
    // myMatrix becomes equal to (-10, 4, -20, 15, 170, 25).
    myMatrix.RotateAt(90, 100, 100);

    return myMatrix; 

}

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0
Show:
© 2016 Microsoft