VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.FormsProcessing.FormRecognition.Omr Namespace / OmrFieldTemplate Class / FilledPercentOnTemplate Property
Syntax Exceptions Remarks Requirements SeeAlso
In This Topic
FilledPercentOnTemplate Property (OmrFieldTemplate)
In This Topic
Gets or sets the black pixel density of the field on the template image.
Syntax
'Declaration

<DefaultValueAttribute(0)>
<DescriptionAttribute("The black pixel density of the field on the template image.")>
Public Property FilledPercentOnTemplate As Single

[DefaultValue(0)]
[Description("The black pixel density of the field on the template image.")]
public float FilledPercentOnTemplate { get; set; }

Property Value

Valid values are from 0 to 1. Default value is 0.
Exceptions
ExceptionDescription
Thrown if value is less than 0 or greater than 1.
Remarks

The value of this property acts like a lower bound of the density range when applying thresholds (Threshold, UnfilledThreshold and FilledThreshold). The CompensateTemplateImageBackground(VintasoftImage) method must be called for calculating the actual value of the black pixel density on the template image.

Requirements

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

See Also