Leadtools.Windows.Media.Effects Send comments on this topic. | Back to Introduction - LEADTOOLS WPF | Help Version 16.5.9.25
CenterPoint Property
See Also 
Leadtools.Windows.Media.Effects.SpecialEffects Namespace > PunchCommandBitmapEffect Class : CenterPoint Property





Point structure that contains the point around which the image will be pinched or punched.

Syntax

Visual Basic (Declaration) 
Public Property CenterPoint As Point
Visual Basic (Usage)Copy Code
Dim instance As PunchCommandBitmapEffect
Dim value As Point
 
instance.CenterPoint = value
 
value = instance.CenterPoint
C# 
public Point CenterPoint {get; set;}
C++/CLI 
public:
property Point CenterPoint {
   Point get();
   void set (Point value);
}
XAML Attributes Usage 

<object CenterPoint =Point >

Dependencies Property Information 

Identifier field

CenterPointProperty

Metadata properties set to true

None

XAML Attributes Usage 

<object CenterPoint =Point >

Dependencies Property Information 

Identifier field

CenterPointProperty

Metadata properties set to true

None

Return Value

The point around which the image will be pinched or punched.

Example

For XAML example, refer to PunchCommandBitmapEffect.

For C#/VB examples, refer to PunchCommandBitmapEffect.

Requirements

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

See Also