| **Navigation:**  [[templates.htm|Templates]] > Guide to all Templates > [[additional libraries and templates.htm|Additional Libraries and Templates]] > Crystal8 Class >====== HasZoomControl (display zoom control on report preview) ====== | [[hassearchbutton display search button on report preview .htm|{{btn_prev_n.gif|Previous page}}]][[additional libraries and templates.htm|{{btn_home_n.gif|Return to chapter overview}}]][[init initialize crystal8 object .htm|{{btn_next_n.gif|Next page}}]] | | || **HasZoomControl** (| //haszoomcontrol// |) ** ** **HasZoomControl**** Allows a zoom control on the report preview window.** //haszoomcontrol// An integer constant, variable, EQUATE, or expression that specifies whether a zoom button will appear on the report's preview window. A value of one (1) displays the zoom control; a value of zero (0) does not display the zoom control. The HasZoomControl method is used to optionally display a zoom control on the report preview window. This method returns a BYTE representing the value of //haszoomcontrol//. **Return Data Type:** BYTE **Example: ** **oCrystal8.HasZoomControl(1)**