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