←Select platform

CenterPan Method

Summary

Centers the current view inside the ImagePanViewer

Syntax

C#
VB
C++
public void CenterPan() 
  
Public Sub CenterPan()  
public: 
void CenterPan();  

Remarks

Calling this method will center the current view inside the pan viewer. The associated viewer in Source will center its view as well.

Example

C#
VB
Silverlight C#
Silverlight VB
using Leadtools.Help; 
using Leadtools.Windows.Controls; 
 
public void ImagePanViewer_CenterPan(ImagePanViewer panViewer) 
{ 
   panViewer.CenterPan(); 
} 
Imports Leadtools.Windows.Controls 
 
Public Sub ImagePanViewer_CenterPan(ByVal panViewer As ImagePanViewer) 
   panViewer.CenterPan() 
End Sub 
using Leadtools.Help; 
using Leadtools.Windows.Controls; 
 
public void ImagePanViewer_CenterPan(ImagePanViewer panViewer) 
{ 
   panViewer.CenterPan(); 
} 
Imports Leadtools.Windows.Controls 
 
Public Sub ImagePanViewer_CenterPan(ByVal panViewer As ImagePanViewer) 
   panViewer.CenterPan() 
End Sub 

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.Windows.Controls Assembly