Uploads all images in buffer to the HTTP server through HTTP Put method as Multi-Page PDF.
Namespace: Dynamsoft.DotNet.TWAINAssembly: DynamicDotNetTWAIN (in DynamicDotNetTWAIN.dll) Version: 3.0.0.0 (3.0.0.0)
Syntax
| C# |
|---|
public bool HTTPUploadAllThroughPutAsPDF(
string strHTTPServer,
string strFileName
) |
| Visual Basic |
|---|
Public Function HTTPUploadAllThroughPutAsPDF ( _
strHTTPServer As String, _
strFileName As String _
) As Boolean |
Parameters
- strHTTPServer
- Type: System..::..String
The name of the HTTP server.It should be only the name of the HTTP server, without "http://" or "https://".Port number is not needed here.
- strFileName
- Type: System..::..String
The name of the image to be uploaded.
Return Value
True indicates success. False indicates failure.
Remarks
Exceptions
| Exception | Condition |
|---|
| Dynamsoft.DotNet.TWAIN..::..TwainException |
When an error occurs and IfThrowException property is true, an exception will be thrown.
When IfThrowException property is false, please check ErrorCode and ErrorString.
|
See Also