documentFramingMargin property
Enables document capture with a margin defined as the percentage of the dimensions of the framed document. Both margin and document are required to be fully visible on the camera frame in order to finish capture.
Allowed values are from 0 to 1. Default: 0.01
Implementation
double? documentFramingMargin = 0.01;