LEADTOOLS Annotations (Leadtools.Annotations assembly)
LEAD Technologies, Inc

RectangleToScreen Method






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
)
function Leadtools.Annotations.IAnnAutomationControl.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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IAnnAutomationControl Interface
IAnnAutomationControl Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.