'Declaration Public Overloads Function CreateBitmapMask( _ ByVal maskColor As Color, _ ByVal originalBitmap As Bitmap _ ) As Bitmap
'Usage Dim instance As SmartPaint Dim maskColor As Color Dim originalBitmap As Bitmap Dim value As Bitmap value = instance.CreateBitmapMask(maskColor, originalBitmap)
public Bitmap CreateBitmapMask( Color maskColor, Bitmap originalBitmap )
Parameters
- maskColor
- The color to use to create the masked bitmap. All non-transparent colors will be replaced by maskColor.
- originalBitmap
- The bitmap for which to create a mask.
Return Value
A System.Drawing.Bitmap representing the masked bitmap.