This documentation is archived and is not being maintained.

Point.Multiply Method

Transforms the specified Point structure by the specified Matrix structure.

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

public static Point Multiply (
	Point point,
	Matrix matrix
public static Point Multiply (
	Point point, 
	Matrix matrix
public static function Multiply (
	point : Point, 
	matrix : Matrix
) : Point
You cannot use methods in XAML.



The point to transform.


The transformation matrix.

Return Value

The transformed point.

The following example shows how to multiply a Point structure by a Matrix structure using the Multiply method.

private Point multiplyPointByMatrixExample()
    Point point1 = new Point(10, 5);
    Matrix matrix1 = new Matrix(40, 50, 60, 70, 80, 90);

    // Multiplies a Point by a Matrix.
    // pointResult is equal to (780,940).
    Point pointResult = Point.Multiply(point1, matrix1);

    return pointResult;


Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0