Window.Height Property

ClosedDescription

Sets and returns the height of the window in pixels.

ClosedSyntax

Window.Height = Value

Where Value is the height of the application window in pixels.

ClosedRequirements

Version

BarTender 6.00 or higher

Edition

Automation, Enterprise Automation

ClosedRemarks

Changes to the Window.Height property are independent of the Window.Left property and the Window.Top property.

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 height of the application window

btApp.Window.Height = 250

'Show the BarTender application

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 height of the application window

btApp.Window.Height = 250;

// Show the BarTender application

btApp.Visible = true;

// End the BarTender process

btApp.Quit(BarTender.BtSaveOptions.btDoNotSaveChanges);

Related Topics