Leadtools.Windows.Media.Effects Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.02.15
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;}
Managed Extensions for C++ 
public: __property Point get_CenterPoint();
public: __property void set_CenterPoint( 
   Point value
);
C++/CLI 
public:
property Point CenterPoint {
   Point get();
   void set (Point value);
}
XAML Attributes Usage 

<object CenterPoint =Point >

Dependency 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, and Windows Server 2003

See Also