VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.UI Namespace / ImageViewer Class / RectangleToControl(RectangleF) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
RectangleToControl(RectangleF) Method (ImageViewer)
In This Topic
Converts the rectangle from the image coordinates to the control coordinates.
Syntax

Parameters

imageRect
The image System.Drawing.RectangleF to convert.

Return Value

Rectangle in control coordinates.
Exceptions
ExceptionDescription
Thrown if viewer does not contain image.
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