VintaSoft Imaging .NET SDK 14.0: 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
    
    <DefaultValueAttribute(0)>
    <DescriptionAttribute("The maximum count, in percents, of color pixels in image.
    Valid values are from 0 (0%) to 1 (100%).")>
    Public Property MaxPercentOfColorPixels As Single
    
    
    [DefaultValue(0)]
    [Description("The maximum count, in percents, of color pixels in image.
    Valid values are from 0 (0%) to 1 (100%).")]
    public float MaxPercentOfColorPixels { get; set; }
    
    
    [DefaultValue(0)]
    [Description("The maximum count, in percents, of color pixels in image.
    Valid values are from 0 (0%) to 1 (100%).")]
    public: __property float get_MaxPercentOfColorPixels();
    public: __property void set_MaxPercentOfColorPixels(
    float value
    );
    [DefaultValue(0)]
    [Description("The maximum count, in percents, of color pixels in image.
    Valid values are from 0 (0%) to 1 (100%).")]
    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: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also