ZoomControl lets users zoom and pan a target component interactively.
Namespace: MindFusion.Common.WinForms
Assembly: MindFusion.Common.WinForms
C# Copy Code |
---|
public class ZoomControl : UserControl |
Visual Basic Copy Code |
---|
Public Class ZoomControl |
The ZoomControl class lets user change interactively the current zoom level and scroll position of a DiagramView or MapView. To set it up, add a ZoomControl to the form, place it anywhere over the target view, and set the control's Target property to that view. Set the ZoomStep and ScrollStep properties to specify the amount added to view's zoom level or scroll position by ZoomControl's buttons. You can customize the control's appearance by setting properties such as Fill, BorderColor, CornerRadius and TickPosition.
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
System.Windows.Forms.Control
System.Windows.Forms.ScrollableControl
System.Windows.Forms.ContainerControl
System.Windows.Forms.UserControl
MindFusion.Common.WinForms.ZoomControl