setDocumentSize: method of the RTRImageCaptureService protocol
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:(CGSize)size;
Parameters
- size
- The size of the document in millimeters.
02.03.2022 12:59:15