 | ImageViewerControlTransformScreenToImage Method (Rectangle) |
Backtracks the rectangle to return accurate coordinates related to the image, regardless of zoom or pan effects.
Namespace: DevScope.Ocr.UtilsAssembly: DevScope.Ocr.Tesseract.Windows.x86 (in DevScope.Ocr.Tesseract.Windows.x86.dll) Version: 2.0.0.0 (2.0.0.0)
Syntaxpublic Rectangle TransformScreenToImage(
Rectangle r
)
Public Function TransformScreenToImage (
r As Rectangle
) As Rectangle
public:
Rectangle TransformScreenToImage(
Rectangle r
)
Parameters
- r
- Type: System.DrawingRectangle
Rectange to backtrack
Return Value
Type:
Rectangle
Backtracked Rectange
See Also