Application.LicenseServer Property |
Returns a reference to the LicenseServer object. Read-only.
Application.LicenseServer
Version |
BarTender 6.12 or higher |
Edition |
Automation, Enterprise Automation |
'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
'Set the license server port to 5160
btApp.LicenseServer.Port = 5160
'End the BarTender process
btApp.Quit(BarTender.BtSaveOptions.btDoNotSaveChanges)
// 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 license server port to 5160
btApp.LicenseServer.Port = 5160;
// End the BarTender process
btApp.Quit(BarTender.BtSaveOptions.btDoNotSaveChanges);
Related Topics