VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging Namespace / PointFAffineTransform Class / CreateTransform(RectangleF,PointF[]) Method
Syntax Requirements SeeAlso
In This Topic
CreateTransform(RectangleF,PointF[]) Method (PointFAffineTransform)
In This Topic
Creates transformation that transforms rectangle into parallelogram using parallelogram points.
Syntax
'Declaration

Public Shared Function CreateTransform( _
ByVal rect
The source rectangle.
As System.Drawing.RectangleF, _
ByVal parallelogramPoints
An array of three System.Drawing.PointF structures, which represent the upper-left, upper-right, and lower-left corners of parallelogram.
() As System.Drawing.PointF _
) As AffineMatrix
public static AffineMatrix CreateTransform(
System.Drawing.RectangleF rect,
System.Drawing.PointF[] parallelogramPoints
)

Parameters

rect
The source rectangle.
parallelogramPoints
An array of three System.Drawing.PointF structures, which represent the upper-left, upper-right, and lower-left corners of parallelogram.

Return Value

The affine transformation.
Requirements

Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also