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





Gets or sets a value that represents the weight, in percent, given to the image color and the border or tile color when determining the resulting color.

Syntax

Visual Basic (Declaration) 
Public Property Opacity As Integer
Visual Basic (Usage)Copy Code
Dim instance As MosaicTilesCommandBitmapEffect
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 the weight, in percent, given to the image color and the border or tile color when determining the resulting color. For example, if Opacity property is set to 75, then 75 of the image color will be added to 75 of the border (or Tile) color. Final results are clipped if greater than 255. Possible values range from 0 to 100.

Example

For XAML example, refer to MosaicTilesCommandBitmapEffect.

For C#/VB examples, refer to MosaicTilesCommandBitmapEffect.

Requirements

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

See Also