Leadtools.ImageProcessing.SpecialEffects Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.12.11
Opacity Property
See Also 
Leadtools.ImageProcessing.SpecialEffects Namespace > FragmentCommand 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 FragmentCommand
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);
}

Return Value

Value that indicates the transparency, in percent, of the copy in comparison to the original image. The valid range is from 0 to 100. A value of 0 means the resulting image will be black. A value of 100 means that each copy's value will comprise 25% of the result.

Example

Refer to FragmentCommand example.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also