LEADTOOLS WPF and Silverlight (Leadtools.Windows.Controls assembly)
LEAD Technologies, Inc

CenterPan Method

Example 





Centers the current view inside the ImagePanViewer .NET support Silverlight support
Syntax
public void CenterPan()
'Declaration
 
Public Sub CenterPan() 
'Usage
 
Dim instance As ImagePanViewer
 
instance.CenterPan()
public void CenterPan()
 function Leadtools.Windows.Controls.ImagePanViewer.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 CodeCopy Code  
Public Sub ImagePanViewer_CenterPan(ByVal panViewer As ImagePanViewer)
    panViewer.CenterPan()
End Sub
public void ImagePanViewer_CenterPan(ImagePanViewer panViewer)
{
   panViewer.CenterPan();
}
public void ImagePanViewer_CenterPan(ImagePanViewer panViewer)
{
   panViewer.CenterPan();
}
Public Sub ImagePanViewer_CenterPan(ByVal panViewer As ImagePanViewer)
   panViewer.CenterPan()
End Sub
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ImagePanViewer Class
ImagePanViewer Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.