Error processing SSI file
LEADTOOLS WPF and Silverlight (Leadtools.Windows.Controls assembly)

Show in webframe

CenterPan Method






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

Error processing SSI file