Goal: specify which area of the document the scanner needs to use
Other: TwainGetState returns 4, which is what it should be as far as I know
To make sure the PaperSize is set to Custom I use:
Code: Select all
TwainSetPaperSize(GdPicture_NET_10_TwainPaperSize_TwainPaperSize_NONE, bLOk)
However, when calling the function with these dummy parameters:
Code: Select all
TwainSetImageLayout(1.5, 1.5, 3.5, 3.5, bLOk)
Screenshot of the dialog: Request:
Could you tell me if I'm using the TwainSetImageLayout correctly or not? If not, please advise what I can do to make this work.