Leadtools.Windows.Media.Effects Send comments on this topic. | Back to Introduction - LEADTOOLS WPF | Help Version 16.5.9.25
CornerPoints Property
See Also 
Leadtools.Windows.Media.Effects.SpecialEffects Namespace > PerspectiveCommandBitmapEffect 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 PerspectiveCommandBitmapEffect
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);
}
XAML Syntax 
cannot be used in XAML directly.Instead use x:Array Markup Extension.
XAML Attributes Usage 

<object CornerPoints =Color >

Dependencies Property Information 

Identifier field

CornerPointsProperty

Metadata properties set to true

None

XAML Syntax 
cannot be used in XAML directly.Instead use x:Array Markup Extension.
XAML Attributes Usage 

<object CornerPoints =Color >

Dependencies Property Information 

Identifier field

CornerPointsProperty

Metadata properties set to true

None

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

For XAML example, refer to PerspectiveCommandBitmapEffect.

For C#/VB examples, refer to PerspectiveCommandBitmapEffect.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, Windows Server 2008 family

See Also