VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging.ImageProcessing.Info Namespace / GetColorCountCommand Class / MaxColorCount Property
Syntax Requirements SeeAlso
In This Topic
    MaxColorCount Property (GetColorCountCommand)
    In This Topic
    Gets or sets the maximum allowable number of colors in an image.
    Syntax
    'Declaration
    
    <DefaultValueAttribute(0)>
    <DescriptionAttribute("The maximum allowable number of colors in an image.")>
    Public Property MaxColorCount As System.Int32
    
    
    [DefaultValue(0)]
    [Description("The maximum allowable number of colors in an image.")]
    public System.Int32 MaxColorCount { get; set; }
    
    
    [DefaultValue(0)]
    [Description("The maximum allowable number of colors in an image.")]
    public: __property System.Int32 get_MaxColorCount();
    public: __property void set_MaxColorCount(
    System.Int32 value
    );
    [DefaultValue(0)]
    [Description("The maximum allowable number of colors in an image.")]
    public:
    property System.Int32 MaxColorCount { System.Int32 get(); void set(System.Int32 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.
    Requirements

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

    See Also