←Select platform

PointToClient Method

Summary

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

Syntax

C#
VB
C++
public Point PointToClient( 
   Point point 
) 
  
Function PointToClient( _ 
   ByVal point As Point _ 
) As Point 
Point PointToClient(  
   Point point 
)  

Parameters

point
The source point in screen coordinates.

Return Value

The result point in client 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.PointToClient 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