documentImageSizeLimit property
The limit of the size of the cropped document images. If one of the dimensions of the cropped image is larger than the limit, the image is downscaled so that its longer dimension matches the limit. The default is 0 (no limit). Default is 0
Implementation
int documentImageSizeLimit;