DBPix Documentation
Version 2.0

ViewZoomToWidth Method


Description:  Zooms to exactly fit the width of the image within the control
Syntax:  void ViewZoomToWidth()
Remarks:  

A vertical scrollbar will be used if necessary.

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.
   ViewZoomToFit method.
   ViewZoomToHeight method.
   ViewInitialZoom property.
   ViewMenuMode property.
   ViewEnableMouseZoom property.

 

 

Documentation version 2.0.0