VintaSoft Imaging .NET SDK 15.2: 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; }

Property Value

Valid values are from 0 (0%) to 1 (100%). Default value is 0 (0%).
Requirements

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

See Also