FormDataCollectionAdd Method (String, Bitmap, String) |
Adds an image to the collection, specifying a filename for the image.
Namespace:
Atalasoft.Twain
Assembly:
Atalasoft.DotTwain (in Atalasoft.DotTwain.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public void Add(
string fieldName,
Bitmap image,
string fileName
)
Public Sub Add (
fieldName As String,
image As Bitmap,
fileName As String
)
Parameters
- fieldName
- Type: SystemString
The field name of the form object. - image
- Type: System.DrawingBitmap
The image you want to upload. - fileName
- Type: SystemString
The filename of the image being uploaded.
Many upload components use this
value, and some require it.
Remarks This allows you to upload images to the server without using interaction.
See Also