TWAIN Brightness
TWAIN Brightness
According to the document - GdPicture_NET Document Imaging SDK.pdf, the function GdPictureImaging.TwainSetBrightness is used to set the scanner brightness, where the available range is from -1000 to 1000. However, I noticed that some scanners has brightness settings with the range of 1 to 255. Is it possible to change the range from “-1000 to 1000” to “1 to 255”. Please advice.
Re: TWAIN Brightness
Hi,
The range -1000 1000 is defined by the TWAIN specifications. Some scanner use they own range. Can be [0;255] [-255:255] ...
You will be able to retrieve your range using the TwainGetCapRangeNumeric method:
Kind regards,
Loïc
The range -1000 1000 is defined by the TWAIN specifications. Some scanner use they own range. Can be [0;255] [-255:255] ...
You will be able to retrieve your range using the TwainGetCapRangeNumeric method:
Code: Select all
Dim nMin, nMax, nStep As Double
oGdPictureImaging.TwainGetCapRangeNumeric(TwainCapabilities.ICAP_BRIGHTNESS, nMin, nMax, nStep)
Loïc
Who is online
Users browsing this forum: Ahrefs [Bot] and 2 guests