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

    Property Value

    0 - number of colors in an image is not limited, command will analyze all image;
    any positive value - maximum allowable number of colors in an image, command will stop searching when maximum allowable number of colors in an image will be reached.
    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