VintaSoft Imaging .NET SDK 14.0: Documentation for .NET 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: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also