ViewShowInvisiblesToggle Script

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

Description

Toggles display of all invisibles (guides, frames, non-printable) on the Pages main tab.

Uses the Ena_IsWindowActive function for enabler.

Syntax

command

param

description

Code

  <ShellCommand(CanExecute:="Ena_IsWindowActive")> _

  Public Sub ViewShowInvisiblesToggle()

    If (Page.GetViewShow() And 128) Or (Page.GetViewShow() And 64) Or (Page.GetViewShow() And 2) Then

      SwitchOffAllInvisibles()

    Else

      SwitchOnAllInvisibles()

    End If

  End Sub

See also

ViewShowDummy

ViewShowFormatInfo

ViewShowFrames

ViewShowGuides

ViewShowGuidesHor

ViewShowGuidesVer

ViewShowHotSpot

ViewShowImg

ViewShowInfo

ViewShowInvisiblesToggle

ViewShowNormal

ViewShowPreview

ViewShowPrintableOnly

ViewShowTypeInfo