Search
ZoomControl Class
Remarks See Also
 





ZoomControl lets users zoom and pan a target component interactively.

Namespace: MindFusion.Common.WinForms
Assembly: MindFusion.Common.WinForms

 Syntax

C#  Copy Code

public class ZoomControl : UserControl

Visual Basic  Copy Code

Public Class ZoomControl
    Inherits UserControl

 Remarks

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.

 Inheritance Hierarchy

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

 See Also