Solid Edge Framework Type Library
EdgeBarVisible Property
Description
Specifies whether or not the Edge Bar is visible for the referenced Application object.
Property type
Read-write property
Syntax
Visual Basic
Public Property EdgeBarVisible As Boolean
Example
Imports SolidEdgeFramework
Imports System.Runtime.InteropServices

Module Example
    <STAThread()> _
    Sub Main()
        Dim objApplication As SolidEdgeFramework.Application = Nothing

        Try
            OleMessageFilter.Register()

            ' Connect to a running instance of Solid Edge.
            objApplication = Marshal.GetActiveObject("SolidEdge.Application")

            ' Toggle the EdgeBar visibility.
            objApplication.EdgeBarVisible = Not objApplication.EdgeBarVisible
        Catch ex As Exception
            ' Write any errors to console.
            Console.WriteLine(ex.Message)
        Finally
            OleMessageFilter.Revoke()
        End Try
    End Sub
End Module
See Also

Application Object  | Application Members