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






The opacity of the Pen constructed from the PenDefinition.

Syntax

Visual Basic (Declaration) 
Public Property Opacity As Integer
Visual Basic (Usage)Copy Code
Dim instance As PenDefinition
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 Pen constructed from the PenDefinition. Opacity is a value in the range 0 to 255 where 0 is transparent and 255 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