A method that will be called when the automation needs to transform a rectangle from client to screen coordinates.
public Rectangle RectangleToScreen(
Rectangle rect
)
Function RectangleToScreen( _
ByVal rect As Rectangle _
) As Rectangle
Rectangle RectangleToScreen(
Rectangle rect
)
rect
The source rectangle in client coordinates.
The result rectangle in screen coordinates.
If your control is derived from the standard System.Windows.Forms.Control, then you do not need to implement this method (since the default System.Windows.Forms.Control.RectangleToScreen will be used).
For an example, refer to IAnnAutomationControl.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET