Share via


Application.BoxLinkLabelsShow Method

Project Developer Reference

Shows or hides link labels in the active Network Diagram.

Syntax

expression.BoxLinkLabelsShow(Show)

expression   A variable that represents an Application object.

Parameters

Name Required/Optional Data Type Description
Show Optional Boolean True if link labels display in the active view. The default value is True if link labels are hidden and False if they are visible.

Return Value
Boolean

Example
The following example first displays and then hides the labels.

Visual Basic for Applications
  Sub ShowBoxLink()
    
   'Activate the Network Diagram view
    ViewApply Name:="Network Diagram"
    
    Result = BoxLinkLabelsShow(True)
    Result = BoxLinkLabelsShow(False)
End Sub

See Also