Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
12.1
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
Statistic
FMM
Blog
Queries all parameter of current scanner functional unit as JSON.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
ImageCapture | 8.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |
none
Returns JSON or error.
Query parameters:
Set Variable [ $json; Value: MBS( "ImageCapture.GetParameters" ) ]
Example result:
{
"defaultThresholdForBlackAndWhiteScanning" : 127,
"supportedBitDepths" : [
"8"
],
"availableFunctionalUnitTypes" : [
"Flatbed",
"DocumentFeeder"
],
"pixelDataType" : 2,
"nativeXResolution" : 1200,
"bitDepth" : 8,
"scanAreaOrientation" : 1,
"scaleFactor" : 100,
"acceptsThresholdForBlackAndWhiteScanning" : 0,
"documentWidth" : 21.000000000000004,
"scanArea" : {
"x" : 0,
"y" : 0,
"h" : 0,
"w" : 0
},
"transferMode" : "File",
"supportedScaleFactors" : [
"100"
],
"physicalWidth" : 21.59,
"documentName" : "Scan",
"downloadsDirectory" : "\/Users\/cs\/Pictures",
"documentHeight" : 29.700000000000003,
"documentType" : "A4",
"supportedMeasurementUnits" : [
"Inches",
"Centimeters",
"Pixels"
],
"resolution" : 200,
"scanInProgress" : 0,
"preferredScaleFactors" : [
"100"
],
"maxMemoryBandSize" : 1048576,
"thresholdForBlackAndWhiteScanning" : 0,
"measurementUnit" : "Centimeters",
"physicalHeight" : 29.701066666666666,
"canPerformOverviewScan" : 1,
"nativeYResolution" : 1200,
"scanProgressPercentDone" : 0,
"state" : 1,
"supportedDocumentTypes" : [
"A4",
"B5",
"USLetter",
"A5",
"ISOB6",
"USExecutive",
"A6",
"C5",
"C6",
"A7",
"A8",
"ISOB5",
"ISOB7",
"ISOB8",
"JISB6",
"JISB7",
"JISB8",
"C7",
"C8",
"USStatement",
"BusinessCard",
"E",
"3R",
"4R",
"5R",
"6R",
"8R",
"MF",
"LF"
],
"overviewResolution" : 200,
"documentUTI" : "public.tiff",
"overviewScanInProgress" : 0,
"supportedResolutions" : [
"75",
"150",
"200",
"300",
"600",
"1200"
],
"usesThresholdForBlackAndWhiteScanning" : 0,
"preferredResolutions" : [
"75",
"150",
"200",
"300",
"600",
"1200"
]
}
This function checks for a license.
Created 17th June 2018, last changed 9th June 2022