IImageScannerSourceConfiguration.SelectedScanRegion Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the origin coordinates (horizontal and vertical) and dimensions (width and height) of the selected scan area, in inches. This property is ignored when the AutoCroppingMode property is not set to Disabled.
public:
property Rect SelectedScanRegion { Rect get(); void set(Rect value); };
Rect SelectedScanRegion();
void SelectedScanRegion(Rect value);
public Rect SelectedScanRegion { get; set; }
var rect = iImageScannerSourceConfiguration.selectedScanRegion;
iImageScannerSourceConfiguration.selectedScanRegion = rect;
Public Property SelectedScanRegion As Rect
Property Value
The location and size of a rectangle.
Remarks
This table describes the property's restrictions. Default values are set at the beginning of a new scan session.
Name | Default value | Valid flatbed values | Valid feeder values |
---|---|---|---|
0 | between 0 and - 1 | between 0 and | |
0 | between 0 and - 1 | between 0 and | |
between and ( – ) | between and | ||
between and ( – ) | between and |