VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.ImageProcessing.Document Namespace / AdvancedReplaceColorCommand Class / CreateColorGradientBinarizationCommand(Rgb24Color,Rgb24Color,Double) Method
Syntax Requirements SeeAlso
In This Topic
    CreateColorGradientBinarizationCommand(Rgb24Color,Rgb24Color,Double) Method (AdvancedReplaceColorCommand)
    In This Topic
    Creates command, which replaces colors along linear color gradient to the black color and replaces colors outside linear color gradient to the white color.
    Syntax
    'Declaration
    
    Public Shared Function CreateColorGradientBinarizationCommand( _
    ByVal startColor
    Start color of linear gradient.
    As Vintasoft.Imaging.ImageColors.Rgb24Color, _
    ByVal stopColor
    Stop color of linear gradient.
    As Vintasoft.Imaging.ImageColors.Rgb24Color, _
    ByVal radius
    Radius of color gradient in RGB color space.
    As Double _
    ) As AdvancedReplaceColorCommand

    Parameters

    startColor
    Start color of linear gradient.
    stopColor
    Stop color of linear gradient.
    radius
    Radius of color gradient in RGB color space.

    Return Value

    A new instance of AdvancedReplaceColorCommand.
    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also