VintaSoft Imaging .NET SDK 12.3: Documentation for .NET developer
Vintasoft.Imaging.ImageProcessing.Info Namespace / GetDocumentImageRotationAngleCommand Class / Binarization Property
Syntax Exceptions Requirements SeeAlso
In This Topic
    Binarization Property (GetDocumentImageRotationAngleCommand)
    In This Topic
    Gets or sets a binarization command, which must be applied to a not black-white image.
    Syntax
    'Declaration
    
    <DescriptionAttribute("A binarization command, which must be applied to a not black-white image.")>
    <BrowsableAttribute(True)>
    <TypeConverterAttribute(Vintasoft.Imaging.TypeConverters.SimpleTypeConverter)>
    Public Property Binarization As Vintasoft.Imaging.ImageProcessing.ProcessingCommandBase
    
    
    [Description("A binarization command, which must be applied to a not black-white image.")]
    [Browsable(True)]
    [TypeConverter(Vintasoft.Imaging.TypeConverters.SimpleTypeConverter)]
    public Vintasoft.Imaging.ImageProcessing.ProcessingCommandBase Binarization { get; set; }
    
    
    [Description("A binarization command, which must be applied to a not black-white image.")]
    [Browsable(True)]
    [TypeConverter(Vintasoft.Imaging.TypeConverters.SimpleTypeConverter)]
    public: __property Vintasoft.Imaging.ImageProcessing.ProcessingCommandBase* get_Binarization();
    public: __property void set_Binarization(
    Vintasoft.Imaging.ImageProcessing.ProcessingCommandBase* value
    );
    [Description("A binarization command, which must be applied to a not black-white image.")]
    [Browsable(True)]
    [TypeConverter(Vintasoft.Imaging.TypeConverters.SimpleTypeConverter)]
    public:
    property Vintasoft.Imaging.ImageProcessing.ProcessingCommandBase^ Binarization { Vintasoft.Imaging.ImageProcessing.ProcessingCommandBase^ get(); void set(Vintasoft.Imaging.ImageProcessing.ProcessingCommandBase^ value); }

    Property Value

    Default value is BinarizationMode.Adaptive 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 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also