Result Class
Click or drag to resize
Result Class

» Asprise Scan Home · Developer's Guide

Represents a scan result.
Inheritance Hierarchy
SystemObject
  asprise_imaging_apiResult

Namespace: asprise_imaging_api
Assembly: asprise-imaging-scan.net-api (in asprise-imaging-scan.net-api.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public class Result

The Result type exposes the following members.

Constructors
  NameDescription
Public methodResult
Initializes a new instance of the Result class
Top
Properties
  NameDescription
Public propertyDevice
The source device from which images are acquired.
Public propertyImageCount
Total number of images acquired.
Public propertyLastTransferResultCode
Last transfer result code, e.g., TwainConstants#TWRC_SUCCESS.
Top
Methods
  NameDescription
Public methodStatic membercreateScanResult
Deserializes from JSON.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodStatic memberfromJson
Creates Result if the resultJson is not null.
Public methodGetBarcodes
List of barcodes recognized
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetImage
Gets the original image of the given index by searching the output in order: OUTPUT_RETURN_BASE64, OUTPUT_SAVE. This is a shortcut method, use GetOutputItems if you need more control.
Public methodGetImageFiles
Gets the list of image files acquired through OUTPUT_SAVE
Public methodGetImageItems
Lists of images acquired.
Public methodGetImages
Returns all scanned images.
Public methodGetOutputItem
Finds the first output item of the given type.
Public methodGetOutputItems
List of all output items.
Public methodGetOutputItems(String)
Finds the all output items of the given type.
Public methodGetPdfFile
Gets the PDF file acquired through OUTPUT_SAVE
Public methodGetThumbnail
Gets the thumbnail image of the given index by searching the output in order: OUTPUT_RETURN_BASE64_THUMB, OUTPUT_SAVE_THUMB. This is a shortcut method, use {@linkplain #getOutputItems()} if you need more control.
Public methodGetThumbnailFiles
Gets the list of image files acquired through OUTPUT_SAVE_THUMB
Public methodGetThumbnailUploadResponse
Returns the thumbnail upload response if available. This is a shortcut method, use GetOutputItems() if you need more control.
Public methodGetTiffFile
Gets the TIFF file acquired through OUTPUT_SAVE
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetUploadResponse
Returns the upload response if available. This is a shortcut method, use GetOutputItems() if you need more control.
Public methodisUserCancelled
Whether user pressed 'Cancel'.
Public methodToString (Overrides ObjectToString.)
Top
See Also