←Select platform

Width Property

Summary
Gets or sets the width of the shutter. This is a dependency property.
Syntax
C#
VB
C++
public double Width { get; set; } 
  
Public Property Width As Double 
public: 
property double Width { 
   double get(); 
   void set (    double ); 
} 

Property Value

The width of the shutter. The value is a percentage of the image size. Default value is 0.5.

Remarks

This effect uses the Center, Width and Height 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 RectangularShutterEffect.

For C#/VB examples, refer to RectangularShutterEffect.

Requirements

Target Platforms

Help Version 21.0.2021.3.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Windows.Media.Effects Assembly