WindowShowZoomCtl
WindowShowZoomCtl indicates whether or not Zoom Controls are available in the preview window.
Syntax
[form.]Report.WindowShowZoomCtl[= {True|False}]
For example:
CrystalReport1.WindowShowZoomCtl = True
«Zoom Controls are displayed in the preview window.»
Remarks
- This property is set to True by default.
- Zoom controls allow a user to zoom in or out on report data, enlarging or reducing the report on screen.
Data Type
Boolean
Availability
Design Time; Runtime
Related Report Engine Functions
PESetWindowOptions
WindowState
WindowState specifies the state of the preview window (normal, minimized, or maximized) when the report is printed.
Syntax
[form.]Report.WindowState[= State%]
For example:
CrystalReport1.WindowState= 2
«When the report is printed to a preview window, the preview window appears maximized when opened.»
Remarks
Use the following values to set the WindowState property:
- 0 = Normal
The preview window appears neither minimized nor maximized. It appears in a default size and position previously defined by your application or by Windows.
- 1 = Minimized
The preview window appears minimized as an icon close to the lower left hand corner of the screen. The icon can be restored to display the window in a normal state.
- 2 = Maximized
The preview window is maximized when opened to fill the entire screen.
Data Type
Integer
Availability
Design Time; Runtime
Related Report Engine Functions
PEOutputToWindow