API Documentation > CorelDRAW > 2025-v26 > ShapeRange > IVGShapeRange
ShapeRange.GetColors method
Returns the list of colors used in the range.
Syntax:
Function GetColors(Optional ByVal MaxBitmapColors As Long = -1) As Color()
Parameters:
Name Type Description
MaxBitmapColors
Long