LEADTOOLS JavaScript (Leadtools.Controls)
LEAD Technologies, Inc

CenterAtPoint Method


The point at which to center the image display, in control coordinates.
Centers the image display at the specified point.
Syntax
 function Leadtools.Controls.ImageViewer.centerAtPoint( 
   point 
)
!MISSING Scrap '_RTJavaScript_Method_SYNTAX'!

Parameters

ParameterTypeDescription
pointLeadPointDThe point at which to center the image display, in control coordinates.
Remarks

The control will change ScrollOffset (and optionally, the scrollbars) according to the value passed. Therefore, this method will follow the same rules governing the minimum and maximum values of ScrollOffset.

ImageViewerCenterAtInteractiveMode uses this method to perform its operation.

See Also

Reference

ImageViewer Object
ImageViewer Members

 

 


Products | Support | Contact Us | Copyright Notices

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