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



Array of Point values that determine 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;}
C++/CLI  
public:
property array<Point>^ CornerPoints {
   array<Point>^ get();
   void set (Pointarray<value>^ value);
}

Return Value

Array of Point values that determine 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, the point at index 1 should be to the right of the point at index 0 and up from the point at index 3. Also, the point at index 2 should be to the left of the point at index 3 and down from the 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