VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.UI Namespace / ImageViewer Class / GetImageRect(VintasoftImage,Rectangle,Boolean) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
GetImageRect(VintasoftImage,Rectangle,Boolean) Method (ImageViewer)
In This Topic
Returns the rectangle of specified image.
Syntax

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.
Exceptions
ExceptionDescription
Thrown if rect is not fully contained within the image rectangle.
Requirements

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

See Also