Leadtools.Windows.Media.Effects Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.02.15
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;}
Managed Extensions for C++ 
public: __property int get_Opacity();
public: __property void set_Opacity( 
   int value
);
C++/CLI 
public:
property int Opacity {
   int get();
   void set (int value);
}
XAML Attributes Usage 

<object Opacity =int >

Dependency 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, and Windows Server 2003

See Also