setDocumentSize method of the IImageCaptureService interface

Sets the physical size of the document to be captured.

The values set by this method are used in various purposes. Setting this parameter will help to improve document boundary detection accuracy and preserve aspect ratio after crop. Known physical size of the document is used for document orientation detection during capture. The image resolution is automatically calculated to the physical size before export.

void setDocumentSize( 
 int width,
 int height


The width of the document in millimeters.
The height of the document in millimeters.

02.03.2022 12:59:15

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.