←Select platform

CenterAtPoint Method

Summary

Centers the view display at the specified point.

Syntax
C#
VB
C++
public virtual void CenterAtPoint( 
   LeadPoint point 
) 
Public Overridable Sub CenterAtPoint( 
   ByVal point As LeadPoint 
) 
public:  
   virtual void CenterAtPoint( 
      LeadPoint^ point 
   ) 

Parameters

point

The point at which to center the view in control coordinate.

Remarks

The control will change ScrollOffset (and optionally, the scrollbars) according to the value passed. Therefore, this method will follow the same rules governing the minimum and maximum values of ScrollOffset.

ImageViewerCenterAtInteractiveMode uses this method to perform its operation.

Requirements
Target Platforms
Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.