VintaSoft Imaging .NET SDK 14.0: Документация для .NET разработчика
Vintasoft.Imaging.FormsProcessing.FormRecognition.Omr Namespace / OmrFieldTemplate Class / FilledThreshold Property
Синтаксис Exceptions Ремарки Требования Смотрите также
В этом разделе
    FilledThreshold Свойство (OmrFieldTemplate)
    В этом разделе
    Возвращает или задает пороговое значение плотности черных пикселей поля для определения того, заполнено ли поле.
    Синтаксис
    'Declaration
    
    <RefreshPropertiesAttribute(Repaint)>
    <DescriptionAttribute("A threshold value of black pixel density of the field for determining whether the field is filled.")>
    <DefaultValueAttribute(0,1)>
    Public Property FilledThreshold As Single
    
    
    [RefreshProperties(Repaint)]
    [Description("A threshold value of black pixel density of the field for determining whether the field is filled.")]
    [DefaultValue(0,1)]
    public float FilledThreshold { get; set; }
    
    
    [RefreshProperties(Repaint)]
    [Description("A threshold value of black pixel density of the field for determining whether the field is filled.")]
    [DefaultValue(0,1)]
    public: __property float get_FilledThreshold();
    public: __property void set_FilledThreshold(
    float value
    );
    [RefreshProperties(Repaint)]
    [Description("A threshold value of black pixel density of the field for determining whether the field is filled.")]
    [DefaultValue(0,1)]
    public:
    property float FilledThreshold { float get(); void set(float value); }

    Property Value

    Допустимые значения: от 0 до 1. Значение по умолчанию - 0,1.
    Исключения
    ИсключениеОписание
    Выбрасывается, если значение меньше 0 или больше 1.
    Ремарки

    Состояние поля считается неопределенным, если значение плотности черных пикселей находится между FilledThreshold и UnfilledThreshold.

    Требования

    Целевые платформы: .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    Смотрите также