ViewBoundariesAndGuides Property

Microsoft Publisher Visual Basic

expression.ViewBoundariesAndGuides

expression    Required. An expression that returns one of the objects in the Applies To list.

Example

This example opens a message box and displays if the current publication shows boundaries and guides.

Sub ViewBandG()

    MsgBox "Boundaries & Guides = " & _
    Application.ActiveDocument.ViewBoundariesAndGuides

End Sub