Home › Forums › TWAIN Classic › Auto detect the paper size
- This topic has 2 replies, 3 voices, and was last updated 14 years, 1 month ago by Kaij.
- AuthorPosts
Hi all,
Thank you for advance
I am using C# & Twain to write an document scanning application.
How to auto detect the paper size while scanning the image.
for example,
if we are scanning the A4 size paper the application should set the page size as A4,
if we are scanning the Letter size the application should set the page size as Letter size.It seems that TWAIN specification doesn’t provide any capability to auto detect the page size. If anyone knows how to achieve this, please let me know.
__________________________
Catherine Sea
TWAIN .NET Component | TWAIN ActiveX/Plug-inIf you have a good auto crop inside the scanner or TWAIN driver (or at least inside the application) you can more than guess by dpi and size the paper format and set it.
We have used this technique in several TWAIN drivers or applications we did for OEM customers.
Best regards,
Kaij
- AuthorPosts