VintaSoft Imaging .NET SDK v8.7
Vintasoft.Imaging.UI Namespace / ImageViewer Class / RectangleToImage Method
The control System.Drawing.RectangleF to convert.



In This Topic
    RectangleToImage Method
    In This Topic
    Converts the rectangle from the control coordinates to the image coordinates.
    Syntax
    'Declaration
     
    Public Function RectangleToImage( _
       ByVal controlRect As RectangleF _
    ) As RectangleF
    public RectangleF RectangleToImage( 
       RectangleF controlRect
    )
    public: RectangleF RectangleToImage( 
       RectangleF controlRect
    ) 
    public:
    RectangleF RectangleToImage( 
       RectangleF controlRect
    ) 

    Parameters

    controlRect
    The control System.Drawing.RectangleF to convert.

    Return Value

    Rectangle in image coordinates.
    Exceptions
    ExceptionDescription
    Thrown if viewer does not contain image.
    Requirements

    Target Platforms: Windows 10, Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

    See Also