LEADTOOLS WPF and Silverlight (Leadtools.Windows.Media.Effects assembly)
LEAD Technologies, Inc

AspectRatio Property (MagnifyGlassEffect)






Gets or sets aspect ratio of the magnify glass. This is a dependency property. .NET support Silverlight support
Syntax
public double AspectRatio {get; set;}
'Declaration
 
Public Property AspectRatio As Double
'Usage
 
Dim instance As MagnifyGlassEffect
Dim value As Double
 
instance.AspectRatio = value
 
value = instance.AspectRatio
ObjectiveC Syntax
Java Syntax
public:
property double AspectRatio {
   double get();
   void set (    double value);
}

Property Value

The aspect ratio of the magnify glass. This value is multiplied by the Radius value to generate an elliptical magnify glass. Default value is 1.5.
Remarks

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

Example

For XAML example, refer to MagnifyGlassEffect.

For C#/VB examples, refer to MagnifyGlassEffect.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

MagnifyGlassEffect Class
MagnifyGlassEffect Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.