VintaSoft Imaging .NET SDK 15.1: Documentation for Web developer
Vintasoft.Imaging.AspNetCore.ApiControllers Namespace / VintasoftFileApiController Class / UploadImageFile(String,IFormFile) Method
Syntax Remarks Requirements SeeAlso
In This Topic
UploadImageFile(String,IFormFile) Method (VintasoftFileApiController)
In This Topic
Uploads an image file to the server.
Syntax
'Declaration

<HttpPostAttribute("HttpMethods = System.Collections.Generic.List`1string", "Template = null", "Order = 0", "Name = null")>
Public Overridable Function UploadImageFile( _
ByVal sessionId
The session identifier.
As String, _
ByVal file
A file sent with HTTP request.
As Microsoft.AspNetCore.Http.IFormFile _
) As Vintasoft.Shared.Web.WebImageFileResponseParams
[HttpPost("HttpMethods = System.Collections.Generic.List`1string", "Template = null", "Order = 0", "Name = null")]
public virtual Vintasoft.Shared.Web.WebImageFileResponseParams UploadImageFile(
string sessionId,
Microsoft.AspNetCore.Http.IFormFile file
)

Parameters

sessionId
The session identifier.
file
A file sent with HTTP request.

Return Value

Response from the server.
Remarks

Uploaded image files will be stored in the data storage on server.

Requirements

Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7, .NET 6

See Also