Application.Window Property

ClosedDescription

Returns a reference to the Window object. Read-only.

ClosedSyntax

Application.Window

ClosedRequirements

Version

BarTender 6.00 or higher

Edition

Automation, Enterprise

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

'Set the window state property

btApp.Window.WindowState = BarTender.BtWindowState.btMaximize

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

// Set the window state property

btApp.Window.WindowState = BarTender.BtWindowState.btMaximize;

// End the BarTender process

btApp.Quit(BarTender.BtSaveOptions.btDoNotSaveChanges);

Related Topics