ScanUtils Class |
Namespace: asprise_imaging_api
The ScanUtils type exposes the following members.
Name | Description | |
---|---|---|
canBeConvertedToNumber |
Whether the string can be converted to a number.
| |
displayImageOnForm |
Returns a newly created form with control displaying the given image.
| |
Equals | (Inherited from Object.) | |
equalsIgnoreCase |
Returns true if the two given strings equal to each other ignoring cases.
| |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
getMimeType |
Gets the mime type of the given image format.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
isFloat |
Whether the given val is of float, double or decimal.
| |
isInteger |
Whether the given val is of byte, short, ushort, int, uint, long or ulong.
| |
isNumber |
Whether the given val is of integer or float.
| |
isSimpleImageFormat |
Returns true if image file ends with jpg, png, bmp, tif or tiff.
| |
newBitmapFromBase64 |
Creates bitmap from base64 data.
| |
normalizeImageFormat |
Normalize image format name.
| |
parseFrame |
Parses frame value like "(0.0, 0.0, 4.0, 6.0)"
| |
parseJson |
Parses json and returns the root element.
| |
previewImage |
Preview image using windows photo viewer with fallback to default associated program.
| |
quoteIfHaveSpaces |
Wraps with quotes if string contains space.
| |
startProcess |
Starts the process of the given fileName optionally with args.
| |
toDecimal |
Convert the given input to decimal or fall back to the default value.
| |
toDictStringString |
Convert dictionary to string based values.
| |
toInteger |
Any object to integer.
| |
toListOfString |
Convert list of objects to list of strings.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
writeElementArray |
Writes array value to JSON.
| |
writeElementDecimal |
Writes decimal value to JSON.
| |
writeElementDict |
Writes dictionary value to JSON.
| |
writeElementInt |
Writes int value to JSON.
| |
xeElementArrayToList |
Extract JSON array as list.
| |
xeElementObjectToDictionary |
Extract the whole JSON node as a dictionary.
| |
xeElementValue |
Extract value.
| |
xeElementValueAsDecimal |
Extract value as decimal from JSON.
| |
xeElementValueAsInt |
Extract value as int from JSON.
| |
xeElementValueAsString |
Extract value as string from JSON.
|