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 setting is disabled when theUserInterface property is set to values other than Suppress or when the  PaperSize property is 1 or more, or when images are retrieved from 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. (This dimension may be slightly different than the value set by the user prior to the scan). 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 Members | Newtone.ImageKit.Win.ImageKit


The ImageKit.NET2 is created by Newtone Corporation