AutoThreshold Свойство (RestoreTextFromHalftoneCommand)
Возвращает или задает значение, указывающее, рассчитываются ли автоматически пороговые значения удаления черных и белых пикселей.
[Description("A value indicating whether the black and white pixels removal thresholds are calculated automatically.")]
[DefaultValue(True)]
public bool AutoThreshold { get; set; }
[Description("A value indicating whether the black and white pixels removal thresholds are calculated automatically.")]
[DefaultValue(True)]
public: __property bool get_AutoThreshold();
public: __property void set_AutoThreshold(
bool
);
[Description("A value indicating whether the black and white pixels removal thresholds are calculated automatically.")]
[DefaultValue(True)]
public:
property bool AutoThreshold {
bool get();
void set(bool );
}
Property Value
true - пороговые значения вычисляются автоматически;
false - пороговые значения используются из свойств
BlackPixelRemovalThreshold и
WhitePixelRemovalThreshold.
Значение по умолчанию -
true.
Целевые платформы: .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5