VintaSoft Imaging .NET SDK 15.2: Documentation for Web developer
Vintasoft.Imaging.ImageProcessing.AspNetCore.ApiControllers Namespace / VintasoftImageProcessingApiController Class / GetUniqueColor(InformativeImageProcessingCommandWithRegionRequestParams) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
GetUniqueColor(InformativeImageProcessingCommandWithRegionRequestParams) Method (VintasoftImageProcessingApiController)
In This Topic
Returns the color of image rectangular region if image region contains only one color.
Syntax
'Declaration

<HttpPostAttribute("HttpMethods = System.Collections.Generic.List`1string", "Template = null", "Order = 0", "Name = null")>
Public Overridable Function GetUniqueColor( _
ByVal requestParams
Request, to the server, which contains information about image and image processing command.
As Vintasoft.Imaging.ImageProcessing.Web.Services.InformativeImageProcessingCommandWithRegionRequestParams _
) As Vintasoft.Imaging.ImageProcessing.Web.Services.GetUniqueColorResponseParams
[HttpPost("HttpMethods = System.Collections.Generic.List`1string", "Template = null", "Order = 0", "Name = null")]
public virtual Vintasoft.Imaging.ImageProcessing.Web.Services.GetUniqueColorResponseParams GetUniqueColor(
Vintasoft.Imaging.ImageProcessing.Web.Services.InformativeImageProcessingCommandWithRegionRequestParams requestParams
)

Parameters

requestParams
Request, to the server, which contains information about image and image processing command.

Return Value

Response, from server, which contains image processing results.
Exceptions
ExceptionDescription
Thrown if command parameters are not correct.
Requirements

Target Platforms: .NET 11; .NET 10; .NET 9; .NET 8; .NET 6

See Also