Hi Loic,
a little question.
in the twain specs i can set SetThreshold
but i can't found in the ogdpicture.twain.
is very important for my procedure.
can you help me
Twain - How to use specific capability like Threshold
Hi Marco.
Good question! As always.
You can use the low level API to do that:
Best regards,
Loïc
Good question! As always.
You can use the low level API to do that:
Code: Select all
Dim nCapItemType As Long
Dim nTresholdValue As Long
nCapItemType = oGdPicture.TwainGetCapItemType(ICAP_THRESHOLD)
nTresholdValue = 150 ' [0 to 255] from the TWAIN 1.9a Specification (9-491)
Call oGdPicture.TwainSetCapCurrentNumeric(ICAP_THRESHOLD, nCapItemType, nTresholdValue)
Best regards,
Loïc
and as usual your answers are always Most useful...Loïc wrote:Hi Marco.
Good question! As always.
You can use the low level API to do that:
Code: Select all
Dim nCapItemType As Long Dim nTresholdValue As Long nCapItemType = oGdPicture.TwainGetCapItemType(ICAP_THRESHOLD) nTresholdValue = 150 ' [0 to 255] from the TWAIN 1.9a Specification (9-491) Call oGdPicture.TwainSetCapCurrentNumeric(ICAP_THRESHOLD, nCapItemType, nTresholdValue)
Best regards,
Loïc
thanks a lot...
Who is online
Users browsing this forum: No registered users and 0 guests