VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.FormsProcessing.FormRecognition.Omr Namespace / OmrFieldTemplate Class / Threshold Property
Syntax Exceptions Requirements SeeAlso
In This Topic
Threshold Property (OmrFieldTemplate)
In This Topic
Gets or sets a threshold value of black pixel density of the field for determining filled state of the field.
Syntax
'Declaration

<RefreshPropertiesAttribute(Repaint)>
<DefaultValueAttribute(0,1)>
<DescriptionAttribute("A threshold value of black pixel density of the field for determining filled state of the field.")>
Public Property Threshold As Single

[RefreshProperties(Repaint)]
[DefaultValue(0,1)]
[Description("A threshold value of black pixel density of the field for determining filled state of the field.")]
public float Threshold { get; set; }

Property Value

Valid values are from 0 to 1. Default value is 0.1.
Exceptions
ExceptionDescription
Thrown if value is less than 0 or greater than 1.
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