VintaSoft Imaging .NET SDK 14.0: Documentation for Web developer
Vintasoft.Imaging Namespace / Palette Class / SetGrayscalePalette(Int32) Method
Syntax Requirements SeeAlso
In This Topic
    SetGrayscalePalette(Int32) Method (Palette)
    In This Topic
    Converts this palette to a grayscale palette with specified color count.
    Syntax
    'Declaration
    
    Public Sub SetGrayscalePalette( _
    ByVal colorCount
    Color count in the result palette.
    As Integer _
    )
    public void SetGrayscalePalette(
    int colorCount
    )
    public: void SetGrayscalePalette(
    int colorCount
    )
    public:
    void SetGrayscalePalette(
    int colorCount
    )

    Parameters

    colorCount
    Color count in the result palette.
    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7, .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5

    See Also