BitmapExtrasOnlyAllowBlackAndColour Method |
replace all colours apart from the one passed in with white, and the passed in colour as black
Namespace: ANDREICSLIB.ClassExtrasAssembly: ANDREICSLIB (in ANDREICSLIB.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic static Bitmap OnlyAllowBlackAndColour(
Bitmap Bmp,
int r,
int g,
int b
)
Public Shared Function OnlyAllowBlackAndColour (
Bmp As Bitmap,
r As Integer,
g As Integer,
b As Integer
) As Bitmap
public:
static Bitmap^ OnlyAllowBlackAndColour(
Bitmap^ Bmp,
int r,
int g,
int b
)
static member OnlyAllowBlackAndColour :
Bmp : Bitmap *
r : int *
g : int *
b : int -> Bitmap
Parameters
- Bmp
- Type: System.DrawingBitmap
- r
- Type: SystemInt32
- g
- Type: SystemInt32
- b
- Type: SystemInt32
Return Value
Type:
Bitmap
See Also