VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging.ImageProcessing.Info Namespace / IsImageGrayscaleCommand Class / MaxPercentOfColorPixels Property
Syntax Requirements SeeAlso
In This Topic
    MaxPercentOfColorPixels Property (IsImageGrayscaleCommand)
    In This Topic
    Gets or sets the maximum count, in percents, of color pixels in image.
    Syntax
    'Declaration
    
    <DescriptionAttribute("The maximum count, in percents, of color pixels in image.
    Valid values are from 0 (0%) to 1 (100%).")>
    <DefaultValueAttribute(0)>
    Public Property MaxPercentOfColorPixels As Single
    
    
    [Description("The maximum count, in percents, of color pixels in image.
    Valid values are from 0 (0%) to 1 (100%).")]
    [DefaultValue(0)]
    public float MaxPercentOfColorPixels { get; set; }
    
    
    [Description("The maximum count, in percents, of color pixels in image.
    Valid values are from 0 (0%) to 1 (100%).")]
    [DefaultValue(0)]
    public: __property float get_MaxPercentOfColorPixels();
    public: __property void set_MaxPercentOfColorPixels(
    float value
    );
    [Description("The maximum count, in percents, of color pixels in image.
    Valid values are from 0 (0%) to 1 (100%).")]
    [DefaultValue(0)]
    public:
    property float MaxPercentOfColorPixels { float get(); void set(float value); }

    Property Value

    Valid values are from 0 (0%) to 1 (100%). Default value is 0 (0%).
    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