[]
        
(Showing Draft Content)

Resizing the Form

You can keep the aspect ratio of the form’s size by using the C1Zoom.KeepAspectRatio property. If the property value is true, the Form's width and height change together when resized.


retain the zoom aspect ratio


To programatically set the C1Zoom.KeepAspectRatio to true, use the following code:

[C#]

c1Zoom1.KeepAspectRatio = true;

[Visual Basic]

C1Zoom1.KeepAspectRatio = True

To set the minimum size or maximum size of the form, use the Form.MinimumSize property or Form.MaximumSize property.