VintaSoft Imaging .NET SDK 14.0: Documentation for Web developer
Vintasoft.Imaging.ImageProcessing.Web.Services Namespace / GetColorCountResponseParams Class / colorCount Property
Syntax Requirements SeeAlso
In This Topic
    colorCount Property (GetColorCountResponseParams)
    In This Topic
    Gets the number of colors in an image.
    Syntax
    'Declaration
    
    Public Property colorCount As Integer
    
    
    public int colorCount { get; set; }
    
    
    public: __property int get_colorCount();
    public: __property void set_colorCount(
    int value
    );
    public:
    property int colorCount { int get(); void set(int value); }

    Property Value

    0 - number of colors in an image exceeded the number specified in the maxColorCount property;
    positive value - number of colors in an image.
    Default value is 0.
    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7, .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5

    See Also