Leadtools.Windows.Media.Effects Send comments on this topic. | Back to Introduction - LEADTOOLS WPF | Help Version 16.5.9.25
Opacity Property
See Also 
Leadtools.Windows.Media.Effects.SpecialEffects Namespace > CloudsCommandBitmapEffect Class : Opacity Property





Gets or sets the value that indicates the transparency, in percent.

Syntax

Visual Basic (Declaration) 
Public Property Opacity As Integer
Visual Basic (Usage)Copy Code
Dim instance As CloudsCommandBitmapEffect
Dim value As Integer
 
instance.Opacity = value
 
value = instance.Opacity
C# 
public int Opacity {get; set;}
C++/CLI 
public:
property int Opacity {
   int get();
   void set (int value);
}
XAML Attributes Usage 

<object Opacity =int >

Dependencies Property Information 

Identifier field

OpacityProperty

Metadata properties set to true

None

XAML Attributes Usage 

<object Opacity =int >

Dependencies Property Information 

Identifier field

OpacityProperty

Metadata properties set to true

None

Return Value

Value that indicates the transparency, in percent, between the cloud's image and the original image. Used if the Opacity or CloudsCommandBitmapEffectsType.Difference flag is set. Possible values range from 0 to 100. This is used if the CloudsCommandBitmapEffectsType.Opacity or CloudsCommandBitmapEffectsType.Difference flag is set. Valid values range from 0 to 100. A value of 0 indicates that no clouds are being used while the value of 100 represents a mix of clouds and image.

Example

For XAML example, refer to CloudsCommandBitmapEffect.

For C#/VB examples, refer to CloudsCommandBitmapEffect.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, Windows Server 2008 family

See Also