VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging.ImageProcessing.Info Namespace / GetColorCountCommand Class / ColorCount Property
Syntax Requirements SeeAlso
In This Topic
    ColorCount Property (GetColorCountCommand)
    In This Topic
    Gets the number of colors in an image.
    Syntax
    'Declaration
    
    <BrowsableAttribute(False)>
    Public ReadOnly Property ColorCount As System.Int32
    
    
    [Browsable(False)]
    public System.Int32 ColorCount { get; }
    
    
    [Browsable(False)]
    public: __property System.Int32 get_ColorCount();
    
    
    
    [Browsable(False)]
    public:
    property System.Int32 ColorCount { System.Int32 get(); }

    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.
    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