Application.VisibleWindows Property

ClosedDescription

Sets which components of the BarTender application will be visible when it runs.

ClosedSyntax

Application.VisibleWindows = BarTender.BtVisibleWindows.visibleWindowState

Where visibleWindowState can be set to one of the following:

ClosedRequirements

Version

BarTender 9.1 or higher

Edition

Automation, Enterprise Automation

ClosedRemarks

The Application.VisibleWindows property replaced the Application.Visible property in BarTender 9.10. If the Application.Visible property is set to true, the Application.VisibleWindows property will be set to All. Setting the Application.Visible property to false will set the Application.VisibleWindows property to None.

ClosedVB.NET Example

'Declare a BarTender application variable

Dim btApp As BarTender.Application

'Create a new instance of BarTender variable

btApp = New BarTender.Application

'Set the BarTender application visible

btApp.VisibleWindows = BarTender.BtVisibleWindows.btAll

'End the BarTender process

btApp.Quit(BarTender.BtSaveOptions.btDoNotSaveChanges)

ClosedC# Example

// Declare a BarTender application variable

BarTender.Application btApp;

// Create a new instance of BarTender

btApp = new BarTender.Application();

// Set the BarTender application visible

btApp.VisibleWindows = BarTender.BtVisibleWindows.btAll;

// End the BarTender process

btApp.Quit(BarTender.BtSaveOptions.btDoNotSaveChanges);

Related Topics