Document Solutions for Imaging
GrapeCity.Documents.Imaging Assembly / GrapeCity.Documents.Imaging Namespace / GcBitmap Class / ExtractColors Method
The rectangle of the image to be processed.

In This Topic
    ExtractColors Method
    In This Topic
    Creates a sorted array of unique colors for the current image.
    Syntax
    'Declaration
     
    Public Function ExtractColors( _
       Optional ByVal clipRect As System.Nullable(Of Rectangle) _
    ) As System.UInteger()
    public System.uint[] ExtractColors( 
       System.Nullable<Rectangle> clipRect
    )

    Parameters

    clipRect
    The rectangle of the image to be processed.

    Return Value

    An array of colors in ARGB format.
    See Also