Utility.SetImageOpacity Method
Changes the opacity of an image.
Public Shared Function SetImageOpacity( _
ByVal image As Image, _
ByVal opacity As Single _
) As Bitmap
This language is not supported or no code example is available.
This language is not supported or no code example is available.
Parameters
-
image
-
Image
The original image
-
opacity
-
float
The opacity (range 0-1)
Return Value
Bitmap
The new bitmap
.NET Framework
Supported in: 4.8