ViewShowPreview Script

Build 1501 on 14/Nov/2017  This topic last edited on: 9/May/2012, at 13:05

Description

Toggles display preview mode on the Pages main tab.

Uses the Ena_IsWindowActive function for enabler.

Uses the Chk_IsViewShowedPreview function to display the tick mark in the menu.

Syntax

ViewShowPreview

Code

  <ShellCommand(CanExecute:="Ena_IsWindowActive", isChecked:="Chk_IsViewShowedPreview")> _

  Public Sub ViewShowPreview()

    Page.ViewShowInfo(SwitchOff)

    Page.ViewShowImg(SwitchOn)

    SwitchOffAllInvisibles()

  End Sub

See also

ViewShowDummy

ViewShowFormatInfo

ViewShowFrames

ViewShowGuides

ViewShowGuidesHor

ViewShowGuidesVer

ViewShowHotSpot

ViewShowImg

ViewShowInfo

ViewShowInvisiblesToggle

ViewShowNormal

ViewShowPreview

ViewShowPrintableOnly

ViewShowTypeInfo