Gets or sets the transparency amount between the image and the canvas.
Syntax
Visual Basic (Declaration) | |
---|
Public Property Transparency As Integer |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As CanvasCommand
Dim value As Integer
instance.Transparency = value
value = instance.Transparency
|
C# | |
---|
public int Transparency {get; set;} |
Managed Extensions for C++ | |
---|
public: __property int get_Transparency();
public: __property void set_Transparency(
int value
); |
C++/CLI | |
---|
public:
property int Transparency {
int get();
void set (int value);
} |
Return Value
The transparency amount between the image and the canvas. Valid range is from 0 to 100. When set to 0, only the canvas image displays, and when set to 100, the canvas image is barely visible.
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