[]
        
(Showing Draft Content)

GrapeCity.Documents.Imaging.GcBitmap.ExtractColors

ExtractColors Method

ExtractColors(Rectangle?)

Creates a sorted array of unique colors for the current image.

Declaration
public uint[] ExtractColors(Rectangle? clipRect = null)
Public Function ExtractColors(Optional clipRect As Rectangle? = Nothing) As UInteger()
Parameters
Type Name Description
Rectangle? clipRect

The rectangle of the image to be processed.

Returns
Type Description
uint[]

An array of colors in ARGB format.