LEADTOOLS WPF and Silverlight (Leadtools.Windows.Media.Effects assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
Center Property
See Also 
Leadtools.Windows.Media.Effects Namespace > MagnifyGlassEffect Class : Center Property



Gets or sets center of the magnify glass. This is a dependency property. Supported in Silverlight

Syntax

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

Property Value

The center of the magnify glass. The valus is a percentage of the image size. Default value is 0.5, 0.5.

Example

For XAML example, refer to MagnifyGlassEffect.

For C#/VB examples, refer to MagnifyGlassEffect.

Remarks

This effect uses the Center, Radius and AspectRatio properties to construct the magnify glass area.

Requirements

Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also