public int Opacity {get; set;}
'Declaration Public Property Opacity As Integer
'Usage Dim instance As RasterPaintProperties Dim value As Integer instance.Opacity = value value = instance.Opacity
public int Opacity {get; set;}
get_Opacity();
set_Opacity(value);
An Opacity value of 0 indicates that the image is completely transparent, while a value of 255 indicates that the image is completely opaque. A value of 128 indicates the image is 50 percent opaque, a value of 170 indicates the image is 72.5 percent opaque, and so on.
This property is only valid when the RasterPaintEngine.GdiPlus engine is used and has no effect on the other engines.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2