Leadtools.Windows.Controls Namespace > ImagePanViewer Class : CenterPan Method |
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();
Calling this method will center the current view inside the pan viewer. The associated viewer in Source will center its view as well.
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
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