Leadtools.Controls Namespace > ImageViewer Object : CenterAtPoint Method |
function Leadtools.Controls.ImageViewer.centerAtPoint( point )
Parameter | Type | Description |
---|---|---|
point | LeadPointD | The point at which to center the view in control coordinate. |
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.