Use TwainPaperSize in JavaScript
Posted: Wed Aug 25, 2021 9:51 am
Hi,
I want to know that how can I use TwainPaperSize Enumeration at Client Side while using the TwainSetConfig method. I can use the Twain capabilities easily. Below is the code, how I am using it in. So, just like that how can I use TwainPaperSize with it also.
DocuViewareAPI.TwainSetConfig(docuViewareId
, true
, true
, resolution
, 24
, enableDuplex
, true
, [{ capability: DocuViewareAPI.TwainCapabilities.ICAP_AUTOBRIGHT, value: autoBrightness }
, { capability: DocuViewareAPI.TwainCapabilities.ICAP_BRIGHTNESS, value: brightness }
, { capability: DocuViewareAPI.TwainCapabilities.ICAP_CONTRAST, value: contrast }
, { capability: DocuViewareAPI.TwainCapabilities.ICAP_AUTODISCARDBLANKPAGES, value: discartBlankPages }
]
);
I want to know that how can I use TwainPaperSize Enumeration at Client Side while using the TwainSetConfig method. I can use the Twain capabilities easily. Below is the code, how I am using it in. So, just like that how can I use TwainPaperSize with it also.
DocuViewareAPI.TwainSetConfig(docuViewareId
, true
, true
, resolution
, 24
, enableDuplex
, true
, [{ capability: DocuViewareAPI.TwainCapabilities.ICAP_AUTOBRIGHT, value: autoBrightness }
, { capability: DocuViewareAPI.TwainCapabilities.ICAP_BRIGHTNESS, value: brightness }
, { capability: DocuViewareAPI.TwainCapabilities.ICAP_CONTRAST, value: contrast }
, { capability: DocuViewareAPI.TwainCapabilities.ICAP_AUTODISCARDBLANKPAGES, value: discartBlankPages }
]
);