Error processing SSI file
LEADTOOLS WPF and Silverlight (Leadtools.Windows.Media.Effects assembly)

Show in webframe

AspectRatio Property (CircularShutterEffect)






Gets or sets aspect ratio of the shutter. This is a dependency property.
Syntax
public double AspectRatio {get; set;}
'Declaration
 
Public Property AspectRatio As Double
'Usage
 
Dim instance As CircularShutterEffect
Dim value As Double
 
instance.AspectRatio = value
 
value = instance.AspectRatio

            

            
public:
property double AspectRatio {
   double get();
   void set (    double value);
}

Property Value

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

This effect uses the Center, Radius and AspectRatio properties to construct the shutter area. The area outside the shutter are cleared using the color set in the ClearColor property.

Example

For XAML example, refer to CircularShutterEffect.

For C#/VB examples, refer to CircularShutterEffect.

Requirements

Target Platforms

See Also

Reference

CircularShutterEffect Class
CircularShutterEffect Members

Error processing SSI file