VintaSoft Twain .NET SDK Discussions

Questions, comments and suggestions concerning VintaSoft Twain .NET SDK.

Board index < VintaSoft Twain < VintaSoft Twain .NET SDK Discussions

We are migrating to new forums engine, no new registration or posting currently available. TIA for your patience.

Controlling the size of the image being scanned



Controlling the size of the image being scanned

Post by BillG »

One of the documents being scanned by the user is the size of an index card. When the document is scanned it is like it is scanning for a full sheet which makes the size of the image larger and takes longer to send over the internet. Can I tell it to scan only the image part which is the size of the index card. I don't want to set the size property because other times they might be scanning a full sheet.


Re: Controlling the size of the image being scanned

Post by Alex »

Hello Bill,

Here are possible ways:
1. You can set page size of image with the PageSize property before the scan process and scan image of desired size.
2. You can set image layout of image with the ImageLayout method before the scan process and scan image of desired size.
3. You can scan image and detect image border of image with the DetectImageBorder method. Please read description of the DetectImageBorder method in documentation and see our Advanced example.

Best regards, Alexander


Page 1 from 1: 1