←Select platform

RectangleToScreen Method

Summary

A method that will be called when the automation needs to transform a rectangle from client to screen coordinates.

Syntax

C#
VB
C++
public Rectangle RectangleToScreen( 
   Rectangle rect 
) 
  
Function RectangleToScreen( _ 
   ByVal rect As Rectangle _ 
) As Rectangle 
Rectangle RectangleToScreen(  
   Rectangle rect 
)  

Parameters

rect
The source rectangle in client coordinates.

Return Value

The result rectangle in screen coordinates.

Remarks

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).

Example

For an example, refer to IAnnAutomationControl.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations Assembly