Click or drag to resize

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
)

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