VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging.ImageProcessing.Transforms Namespace / QuadrilateralWarpCommand Class / DestinationPoints Property
Syntax Exceptions Remarks Requirements SeeAlso
In This Topic
    DestinationPoints Property (QuadrilateralWarpCommand)
    In This Topic
    Gets or sets the array of four or three points that define a quadrangle.
    Syntax
    'Declaration
    
    <DescriptionAttribute("The array of four or three points that define a quadrangle.
    Series of points: top left, top right, bottom left, bottom right.")>
    <DefaultValueAttribute(null)>
    Public Property DestinationPoints As System.Drawing.PointF[]
    
    
    [Description("The array of four or three points that define a quadrangle.
    Series of points: top left, top right, bottom left, bottom right.")]
    [DefaultValue(null)]
    public System.Drawing.PointF[] DestinationPoints { get; set; }
    
    
    [Description("The array of four or three points that define a quadrangle.
    Series of points: top left, top right, bottom left, bottom right.")]
    [DefaultValue(null)]
    public: __property System.Drawing.PointF[] get_DestinationPoints();
    public: __property void set_DestinationPoints(
    System.Drawing.PointF[]* value
    );
    [Description("The array of four or three points that define a quadrangle.
    Series of points: top left, top right, bottom left, bottom right.")]
    [DefaultValue(null)]
    public:
    property System.Drawing.PointF[] DestinationPoints { System.Drawing.PointF[] get(); void set(array<System.Drawing.PointF>^ value); }

    Property Value

    Array may have 3 points (transform using parallelogram) and 4 points (transform using quadrangle).
    Default value is null.
    Exceptions
    ExceptionDescription
    Thrown if array length is not equal 3 or 4.
    Remarks

    Points should be set in the following order: 0 - top-left, 1 - top-right, 2 - bottom-left, 3 - bottom-right.
    If IsInverseTransform is true, the points are source points for inverse transform.

    Requirements

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

    See Also