Matrix::Invert Method ()

 

Inverts this Matrix, if it is invertible.

Namespace:   System.Drawing.Drawing2D
Assembly:  System.Drawing (in System.Drawing.dll)

public:
void Invert()

The following code example creates a matrix and inverts it:

Matrix myMatrix = new Matrix(3, 5, 1, 2, 2, 4);
 myMatrix.Invert();

.NET Framework
Available since 1.1
Return to top
Show: