Document Solutions for Imaging
DS.Documents.Imaging Assembly / GrapeCity.Documents.Imaging Namespace / GcBitmap Class / MergePalettes Method
Palette entries with Alpha less than the specified value (between 0 and 255) are skipped.
A set of palettes with sorted arrays of unique colors.

In This Topic
    MergePalettes Method
    In This Topic
    Merges sorted arrays of unique colors in 32-bit ARGB format (returned from ExtractColors)
    Syntax
    'Declaration
     
    Public Shared Function MergePalettes( _
       ByVal minimalAlpha As System.Integer, _
       ByVal ParamArray palettes() As System.UInteger _
    ) As System.UInteger()
    public static System.uint[] MergePalettes( 
       System.int minimalAlpha,
       params System.uint[] palettes
    )

    Parameters

    minimalAlpha
    Palette entries with Alpha less than the specified value (between 0 and 255) are skipped.
    palettes
    A set of palettes with sorted arrays of unique colors.

    Return Value

    A sorted array with unique colors presented in one palette at least.
    See Also