VintaSoft Twain .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging Namespace / Palette Class / GetAsArray Methods / GetAsArray(Int32) Method
Syntax Requirements SeeAlso
In This Topic
    GetAsArray(Int32) Method (Palette)
    In This Topic
    Returns colors of the palette as array of ARGB values.
    Syntax
    'Declaration
    
    Public Overloads Function GetAsArray( _
    ByVal colorCount
    Th color count.
    As Integer _
    ) As Integer[]
    public int[] GetAsArray(
    int colorCount
    )
    public: int[] GetAsArray(
    int colorCount
    )
    public:
    int[] GetAsArray(
    int colorCount
    )

    Parameters

    colorCount
    Th color count.

    Return Value

    Colors of the palette as array of ARGB values.
    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