VintaSoft Twain .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging Namespace / Palette Class / GetGrayPalleteColors(Int32) Method
Syntax Requirements SeeAlso
In This Topic
    GetGrayPalleteColors(Int32) Method (Palette)
    In This Topic
    Returns an array that contains colors for grayscale pallete.
    Syntax
    'Declaration
    
    Public Shared Function GetGrayPalleteColors( _
    ByVal bitsPerComponent
    The bits per component.
    As Integer _
    ) As Integer[]
    public static int[] GetGrayPalleteColors(
    int bitsPerComponent
    )
    public: static int[] GetGrayPalleteColors(
    int bitsPerComponent
    )
    public:
    static int[] GetGrayPalleteColors(
    int bitsPerComponent
    )

    Parameters

    bitsPerComponent
    The bits per component.

    Return Value

    The array that contains colors for grayscale pallete.
    Requirements

    Target Platforms: .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also