Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.4.3
|
Leadtools.Controls Assembly > Leadtools.Controls Namespace > ImageViewerItem Class : Zoom Method |
public virtual void Zoom( ControlSizeMode sizeMode, double value, LeadPointD origin )
'Declaration
Public Overridable Sub Zoom( _ ByVal sizeMode As ControlSizeMode, _ ByVal value As Double, _ ByVal origin As LeadPointD _ )
This method will update Transform based on the values passed. For information on how zoom works, refer to Zoom. This method works the same way except the zoom is performed on this item only and the values will be stored in Transform.
origin is the origin of the zoom operation. Use DefaultZoomOrigin to zoom around the center of the item.