ChangeColorsToBlackWhite() Method (Palette)
In This Topic
Changes the palette colors to the black and white colors.
Syntax
'Declaration
Public Sub ChangeColorsToBlackWhite()
public void ChangeColorsToBlackWhite()
public: void ChangeColorsToBlackWhite()
public:
void ChangeColorsToBlackWhite()
Remarks
Method sets the first color to the black color, the second color to the white color.
If palette contains more than 2 colors, the third and next colors are set to 0.
Requirements
Target Platforms: .NET 11; .NET 10; .NET 9; .NET 8; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5
See Also