Application.Visible Property

ClosedDescription

Sets and returns whether the BarTender application will be visible when it runs.

ClosedSyntax

Application.Visible = true|false

ClosedRequirements

Version

BarTender 6.00 or higher

Edition

Automation, Enterprise

ClosedRemarks

If true, BarTender application will be visible. If false, BarTender will run in the background.

In BarTender 9.10 and later, you have the option of using either the Application.Visible property or the Application.VisibleWindows property. The Application.Visible property is limited, in that it allows you to show BarTender or hide it. By using the Application.VisibleWindows property, you can also set the application to show only interactive dialogs. See Application.VisibleWindows property for more information.

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.Visible = True

'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.Visible = true;

// End the BarTender process

btApp.Quit(BarTender.BtSaveOptions.btDoNotSaveChanges);

Related Topics