---
title: "Matrix..::.FromProjectivePoints Method (array&lt;PointF&gt;[]()[], array&lt;PointF&gt;[]()[])"
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Transforms_Matrix_FromProjectivePoints_2_a6854ac1.htm
product: "Graphics Mill 5.5 for .NET"
---

This documentation is for the old version. [Go to the latest Graphics Mill docs](https://www.graphicsmill.com/docs/gm/)

# Matrix.FromProjectivePoints Method (PointF[], PointF[])
 
Returns a [Matrix](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_Matrix.htm.md) of the projective transform which converts one set of points to another.
 
**Namespace:** [Aurigma.GraphicsMill.Transforms](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Transforms.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```
Public Shared Function FromProjectivePoints ( _sourcePoints As PointF(), _destinationPoints As PointF() _
) As Matrix
```
 
```csharp
public static Matrix FromProjectivePoints(PointF[] sourcePoints,PointF[] destinationPoints
)
```
 
### Parameters
 
 - sourcePoints
     - Type:  [System.Drawing.PointF](http://msdn2.microsoft.com/en-us/ckys1c1e) []
An array of 4 source (input) points to transform from.

 - destinationPoints
     - Type:  [System.Drawing.PointF](http://msdn2.microsoft.com/en-us/ckys1c1e) []
An array of 4 destination (output) points to transform source points to.
 
### Return Value
A [Matrix](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_Matrix.htm.md) class instance which represents the matrix of the transform which converts *sourcePoints* to *destinationPoints*.
 
## Remarks
 If you already have an instance of the [Matrix](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_Matrix.htm.md) class, you can use [FillFromProjectivePoints(PointF\[\], PointF\[\])](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Transforms_Matrix_FillFromProjectivePoints_2_a6854ac1.htm.md) method (non-static version of this method).
   
## See Also

### Reference

- [Matrix Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_Matrix.htm.md)
- [FromProjectivePoints Overload](https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_Transforms_Matrix_FromProjectivePoints.htm.md)
- [Aurigma.GraphicsMill.Transforms Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Transforms.htm.md)
