VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.ImageProcessing.Info Namespace / GetTextOrientationCommand Class / Binarization Property
Syntax Exceptions Requirements SeeAlso
In This Topic
Binarization Property (GetTextOrientationCommand)
In This Topic
Gets or sets a binarization command applied to the not black-white images.
Syntax
'Declaration

<DescriptionAttribute("A binarization command applied to the not black-white images.")>
<BrowsableAttribute(True)>
<TypeConverterAttribute(Vintasoft.Imaging.TypeConverters.SimpleTypeConverter)>
Public Property Binarization As Vintasoft.Imaging.ImageProcessing.ProcessingCommandBase

[Description("A binarization command applied to the not black-white images.")]
[Browsable(True)]
[TypeConverter(Vintasoft.Imaging.TypeConverters.SimpleTypeConverter)]
public Vintasoft.Imaging.ImageProcessing.ProcessingCommandBase Binarization { get; set; }

Property Value

Default value is BinarizationMode.Threshold binarization.
Exceptions
ExceptionDescription
Thrown if value is null.
Thrown if output pixel format of the command is not PixelFormat.BlackWhite or PixelFormat.Undefined.
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