Description
Fit page or all pages displayed in the same window (layout).
Syntax
Page.ViewZoomFit (bool Width, bool Layout)) |
Width
True = fit to width (either of page, or layout, depends on the second parameter)
Layout
False = fit to page; True = fit to layout
Remarks
Following combinations are available:
false, false = fit entire page
true, false = fit to page width
false, true = fit all pages displayed in the same window (layout)
true, true = fit to layout width
Example
<ShellCommand(CanExecute:="Ena_IsWindowActive")> _
Public Sub ViewZoomPageFit()
Page.ViewZoomFit(False, False)
End Sub
Context
Page designer
See also
ViewGetMetrics, ViewPositionAt