This property sets the scanning position. This property is enabled when using a custom-built user interface (UserInterface=Suppress).
[Visual Basic] Public Property Rect As System.Drawing.RectangleF
[C#] public System.Drawing.RectangleF Rect {get; set;}

Property Value

The value of this property depends on the Unit property setting. The minimum value is 0.

Explanation

The Rect property sets the scanning position of the area on the image to be scanned. This property value is enabled when the UserInterface property is Suppress and the PaperSize property is 0. (This property value is disabled when theUserInterface property is not Suppress, the PaperSize property value is 1 or more, and using a digital camera.)

After the scan has completed, the exact dimensions (in the units specified in the Unit property) of the actual area scanned are reset into the value of the Rect property. If the PaperSize property is set to UndefinedSize (or to values of 1000 or more) or if the scan driver interface is automatically determining the paper size then actual scan may be the largest possible scan size or some other size depending on the scan driver. When using the default value of the datasource, set the RectangleF constructor with all parameter values set to 0 or use RectangleF.Empty.

See Also

Scan Class | Scan Members

The ImageKit.NET3 is created by Newtone Corporation