Click or drag to resize

KicHandlerImportDocument Method

Imports a document with the specified batch class, document class, and folder type name.

Namespace:  Atalasoft.Imaging.WebControls.Capture
Assembly:  Atalasoft.dotImage.WebControls (in Atalasoft.dotImage.WebControls.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
protected override Dictionary<string, string> ImportDocument(
	HttpContext context,
	string filename,
	string contentType,
	string contentTypeDocumentClass,
	string contentTypeDescription
)

Parameters

context
Type: System.WebHttpContext
The current HTTP context of the handler.
filename
Type: SystemString
The filename and path of the uploaded document.
contentType
Type: SystemString
The selected BatchID.
contentTypeDocumentClass
Type: SystemString
The selected DocumentClass
contentTypeDescription
Type: SystemString
The ContentType description for the selected BatchID, and DocumentClass.

Return Value

Type: DictionaryString, String
A dictionary that contains the success or failure of the import, the id of the import, and the status of the import.
See Also