Parameters
- image
- The image.
- rect
- System.Drawing.Rectangle on the image.
- useCurrentZoom
- A value indicating whether to use the image in current scale.
Return Value
Specified rectangle of focused image or null.
| Exception | Description |
|---|---|
| System.ArgumentOutOfRangeException | Thrown if rect is not fully contained within the image rectangle. |
Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5