| Visual Basic (Declaration) | |
|---|---|
Public Property CornerPoints As Point() | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| 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.For XAML example, refer to PerspectiveCommandBitmapEffect.
For C#/VB examples, refer to PerspectiveCommandBitmapEffect.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, Windows Server 2008 family