Application.IsProcessingCommandLines Property

ClosedDescription

Returns the state of command line processing. Read-only.

ClosedSyntax

Application.IsProcessingCommandLines

ClosedRequirements

Version

BarTender 6.00 or higher

Edition

Automation, Enterprise Automation

ClosedRemarks

The IsProcessingCommandLines property returns true if BarTender is currently processing command lines.

ClosedVB.NET Example

'Declare a BarTender application variable

Dim btApp As BarTender.Application

'Create a new instance of BarTender

btApp = New BarTender.Application

'Set the BarTender application visible

btApp.Visible = True

'Display whether or not BarTender is processing command lines

If btApp.IsProcessingCommandLines = True Then

MessageBox.Show("BarTender is processing command lines")

Else

MessageBox.Show("BarTender is not processing command lines")

End If

'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;

// Display whether or not BarTender is processing command lines

if (btApp.IsProcessingCommandLines == true)

{

MessageBox.Show("BarTender is processing command lines");

}

else

{

MessageBox.Show("BarTender is not processing command lines");

}

// End the BarTender process

btApp.Quit(BarTender.BtSaveOptions.btDoNotSaveChanges);

Related Topics