VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging.FormsProcessing.FormRecognition.Omr Namespace / OmrFieldTemplate Class / UnfilledThreshold Property
Syntax Exceptions Remarks Requirements SeeAlso
In This Topic
    UnfilledThreshold Property (OmrFieldTemplate)
    In This Topic
    Gets or sets a threshold value of black pixel density of the field for determining whether the field is unfilled.
    Syntax
    'Declaration
    
    <RefreshPropertiesAttribute(Repaint)>
    <DefaultValueAttribute(0,1)>
    <DescriptionAttribute("A threshold value of black pixel density of the field for determining whether the field is unfilled.")>
    Public Property UnfilledThreshold As Single
    
    
    [RefreshProperties(Repaint)]
    [DefaultValue(0,1)]
    [Description("A threshold value of black pixel density of the field for determining whether the field is unfilled.")]
    public float UnfilledThreshold { get; set; }
    
    
    [RefreshProperties(Repaint)]
    [DefaultValue(0,1)]
    [Description("A threshold value of black pixel density of the field for determining whether the field is unfilled.")]
    public: __property float get_UnfilledThreshold();
    public: __property void set_UnfilledThreshold(
    float value
    );
    [RefreshProperties(Repaint)]
    [DefaultValue(0,1)]
    [Description("A threshold value of black pixel density of the field for determining whether the field is unfilled.")]
    public:
    property float UnfilledThreshold { float get(); void set(float value); }

    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.
    Remarks

    The state of field is considered undefined if value of black pixel density is between FilledThreshold and UnfilledThreshold.

    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