|
Thanks, Maen. I have used the twacker and found that this capability is not supported by the Lexmark. I
have noticed that when you try to set a capability that is not supported, it
causes NO image to be captured. I have written this procedure that checks
whether a capability is supported before trying to set it:
Private Function IsCapabilitySupported(ByRef myTwainSession As
Twain.TwainSession, _
ByRef myCapabilityType As TwainCapabilityType) As Boolean
Try
myTwainSession.GetCapability(myCapabilityType,
TwainGetCapabilityMode.GetCurrent)
Return True
Catch ex As Exception
Return False
End Try
End Function
|