center Property

Summary

Gets or sets the center point that is used as a pivot to zoom in and out relative to the image.

Syntax

TypeScript
JavaScript
Object.defineProperty(ImageViewerZoomInteractiveMode.prototype, 'center', 
	 get: function(), 
	 set: function(value) 
) 
      center: lt.LeadPointD; 

Property Value

A lt.LeadPointD. The default value is LeadPointD.Zero.

Remarks

The default value is the center of the item. This pivot point will only work as an anchor for zooming if the scaleAtPosition property is set to true.

Requirements

Target Platforms

See Also

ImageViewerZoomInteractiveMode

ImageViewerZoomInteractiveMode Members

lt.Controls.Medical Namespace

Help Version 22.0.2023.2.14
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls.Medical Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.