DBPix Documentation
Version 2.0

ViewZoomToFit Method


Description:  Zooms to exactly fit the image within the control
Syntax:  void ViewZoomToFit()
Remarks:  

This function can also be accessed via the context-menu and by using the mouse at runtime (the ViewMenuMode property controls which menu-items are displayed at runtime, and ViewEnableMouseZoom enables or disables zooming using the mouse).

See also:
   ViewZoomIn method.
   ViewZoomOut method.
   ViewZoomOriginalSize method.
   ViewZoomToHeight method.
   ViewZoomToWidth method.
   ViewInitialZoom property.
   ViewMenuMode property.
   ViewEnableMouseZoom property.

 

 

Documentation version 2.0.0