LEADTOOLS Annotations (Leadtools.Annotations assembly)

RectangleToScreen Method

Show in webframe





The source rectangle in client coordinates.
A method that will be called when the automation needs to transform a rectangle from client to screen coordinates.
Syntax
Rectangle RectangleToScreen( 
   Rectangle rect
)
'Declaration
 
Function RectangleToScreen( _
   ByVal rect As Rectangle _
) As Rectangle
'Usage
 
Dim instance As IAnnAutomationControl
Dim rect As Rectangle
Dim value As Rectangle
 
value = instance.RectangleToScreen(rect)

            

            
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

See Also

Reference

IAnnAutomationControl Interface
IAnnAutomationControl Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.