Print Preview ActiveX Active Users: 94 / Visits Today: 642
Highest Active Users: 361
Print Preview ActiveX
Home | Profile | Register | Active Topics | Members | Search | FAQ | RSS
Save Password
Forgot your Password?

 All Forums
 Print Preview
 Help file
 Zoom - Property
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic: GenerateCustomButton - Method Topic Next Topic: PageRange - Property  


327 Posts

Posted - 07/25/2005 :  12:51:44  Show Profile
Property Zoom


This property sets or returns the current zoom level of the preview window.


Zoom [ = vZoom As Long ] As Long

In addtion to positive values indicating a zoom factor, the vZoom parameter can contain the following values:

Constant          Value    Description        
  • prZMDefault -1 Initial default
  • prZMPageWidth -2 Zoom to page width
  • prZMWholePage -3 Zoom to full page
  • prZMTwoPages -4 Zoom to double page

    This property determines the zoom level for the the preview window.

    Normally the value of the property is used when the preview window is created and if the window is Modal then the application cannot change the zoom level nor read the property. However, if Modal = False then the property can be read or changed as required.

    The zoom level of the preview window can be changed by the user while it is displayed, using the zoom buttons if displayed.

    The value of Zoom at the start of PrintPreview is prZMDefault


    To set the zoom level at 200%:

    Preview.Zoom = 200

    See also:

    ShowZoomButton ->

    Come and visit :

    Edited by - emiel on 05/26/2006 12:39:27
    Go to Bottom of Page
      Previous Topic: GenerateCustomButton - Method Topic Next Topic: PageRange - Property  
     New Topic  Topic Locked
     Printer Friendly
    Jump To:
    Print Preview ActiveX © Mandix Go To Top Of Page
    This page was generated in 0.08 seconds. Powered By: Snitz Forums 2000 Version 3.4.02