ICreate.Controls.Bars Send comments on this topic.
Opacity Property
See Also 
ICreate.Controls.Bars Namespace > Background Class : Opacity Property






Gets or sets the opacity of the background.
The opacity of the background. This parameter is an intereger in the range 0 to 255 where 0 is completely transparent and 255 comletely opaque.

Syntax

Visual Basic (Declaration) 
Public Property Opacity As Integer
Visual Basic (Usage)Copy Code
Dim instance As Background
Dim value As Integer
 
instance.Opacity = value
 
value = instance.Opacity
C# 
public int Opacity {get; set;}
Delphi 
public read-write property Opacity: Integer; 
JScript 
public function get,set Opacity : int
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

A System.Int32 value, this property specifies the opacity of the background. The default value is 255.

Remarks

The opacity is an integer in the range 0 to 255. A value of 0 is completely transparent. A value of 255 is completely opaque.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also