Leadtools.ImageProcessing.SpecialEffects Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.12.11
CornerPoints Property
See Also 
Leadtools.ImageProcessing.SpecialEffects Namespace > PerspectiveCommand Class : CornerPoints Property




Array of Point that determines the new locations of image corners.

Syntax

Visual Basic (Declaration) 
Public Property CornerPoints As Point()
Visual Basic (Usage)Copy Code
Dim instance As PerspectiveCommand
Dim value() As Point
 
instance.CornerPoints = value
 
value = instance.CornerPoints
C# 
public Point[] CornerPoints {get; set;}
Managed Extensions for C++ 
public: __property Point[] get_CornerPoints();
public: __property void set_CornerPoints( 
   Point[] value
);
C++/CLI 
public:
property array<Point> CornerPoints {
   array<Point> get();
   void set (Pointarray<value> value);
}

Return Value

Array of Point that determines the new locations of image corners. It should contain four points; points at indices 0, 1, 2 and 3 determine the new locations of left-top, right-top, left-bottom and right-bottom image corners respectively. The new locations of image corners should keep the relative relation between corners, for example point at index 1 should be to the right of point at index 0 and up of point at index 3, also point at index 2 should be to the left of point at index 3 and down of point at index 0 and so on. All new locations should be inside the image.

Example

Refer to PerspectiveCommand example.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also