VintaSoft Barcode .NET SDK 15.0: Documentation for Web developer
Vintasoft.Imaging Namespace / Palette Class / ChangeColorsToBlackWhite() Method
Syntax Remarks Requirements SeeAlso
In This Topic
    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 8; .NET 7, .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5

    See Also