O
Olaf Lischke
Hi there,
I'm desperately looking for any method for showing/hiding or opening/closing
the stencil pane on the left side of a visio drawing.
Visibility of the stencils can be toggled by:
Private Sub StencilWindowVisible(ByVal targetWindow As Visio.Window,
ByVal Visible As Boolean)
Dim stencilWindow As Visio.Window
Try
For Each stencilWindow In targetWindow.Windows
If stencilWindow.Type =
Visio.VisWinTypes.visDockedStencilBuiltIn Then
stencilWindow.Visible = Visible
End If
Next
Catch ex As Exception
System.Diagnostics.Debug.WriteLine(ex.Message)
End Try
End Sub
But the stencil pane itself is still there and that looks wierd.
Thx
Olaf
I'm desperately looking for any method for showing/hiding or opening/closing
the stencil pane on the left side of a visio drawing.
Visibility of the stencils can be toggled by:
Private Sub StencilWindowVisible(ByVal targetWindow As Visio.Window,
ByVal Visible As Boolean)
Dim stencilWindow As Visio.Window
Try
For Each stencilWindow In targetWindow.Windows
If stencilWindow.Type =
Visio.VisWinTypes.visDockedStencilBuiltIn Then
stencilWindow.Visible = Visible
End If
Next
Catch ex As Exception
System.Diagnostics.Debug.WriteLine(ex.Message)
End Try
End Sub
But the stencil pane itself is still there and that looks wierd.
Thx
Olaf