FormDataCollectionAddFromBrowser Method |
Adds an image or form field to the collection.
You must use this method when posting from a web browser.
Namespace:
Atalasoft.Imaging
Assembly:
Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public void AddFromBrowser(
string fieldName,
Object image,
string fieldValue
)
Public Sub AddFromBrowser (
fieldName As String,
image As Object,
fieldValue As String
)
Parameters
- fieldName
- Type: SystemString
The field name of the form object. - image
- Type: SystemObject
The image you want to upload. - fieldValue
- Type: SystemString
The value of the field object or the filename of the image.
Remarks When adding an image, set the fieldValue to the filename of the image. When adding a form field
entry, set the image to null.
See Also