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 > PixelateCommandBitmapEffect Class : Opacity Property





Gets ors sets a value that represents how transparent the cells are, compared to the original pixels. This is a percentage.

Syntax

Visual Basic (Declaration) 
Public Property Opacity As Integer
Visual Basic (Usage)Copy Code
Dim instance As PixelateCommandBitmapEffect
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 represents how transparent the cells are, compared to the original pixels. This is a percentage. Possible values are 0 – 100. (0 is total transparency and 100 is total opacity.)

Example

For XAML example, refer to PixelateCommandBitmapEffect.

For C#/VB examples, refer to PixelateCommandBitmapEffect.

Requirements

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

See Also