LEADTOOLS WPF and Silverlight (Leadtools.Windows.Controls assembly)

CenterPan Method

Show in webframe
Example 





Centers the current view inside the ImagePanViewer
Syntax
public void CenterPan()
'Declaration
 
Public Sub CenterPan() 
'Usage
 
Dim instance As ImagePanViewer
 
instance.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
Copy Code  
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();
}
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

See Also

Reference

ImagePanViewer Class
ImagePanViewer Members

 

 


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