Overview of Constants

Your custom VBScripts can contain constants that are built natively into VBScript language.These are listed alongside the BarTender-specific constants in the Script Assistant pane.In this reference, you will find only the "Bt" constants documented, which were created specifically for use with BarTender.For more information on any other constant, refer to the VBScript Language Reference available from the Help menu.

BarTender-Specific Constants

常數

描述

BtColor

List of available colors for template objects.For use with the following Object properties:LineColor, FillColor, BarCodeColor, TextColor, and TextBackgroundColor.

BtExportType

List of available ways to export a printer code template.For use with the PCT.ExportType property.

BtFontScript

List of language scripts available for a text object on your template.For use with the Object.FontScript property.

BtFontWeight

List of font weights for a text object on your template.For use with the Object.FontWeight property.

BtLanguage

List of languages that can be used for BarTender's main user interface.For use with the CurrentLanguage function.

BtMsgSeverity

List of possible severity levels for messages sent by BarTender.For use with the UserMessage function.

BtObjectType

Use to determine the type of template object you are using on your current template.For use with the Object.Type property.

BtOrientation

Use to determine whether the orientation of your document is Landscape or Portrait.For use with the PageSetup.Orientation property.

BtSectionType

Use to determine whether a section of your template is data-based or format-based.For use with the PCM.SectionType property.

BtShape

Use to determine whether a print item is rectangular or elliptical, and whether a rectangular print item has round or sharp corners.For use with the PageSetup.LabelShape and PageSetup.LabelCorners properties.

BtStartingCorner

Use to determine the starting (print) corner on a page with multiple rows and/or columns.For use with the PageSetup.StartingCorner property.

BtStartingPositionDirection

Use to determine the starting (print) position on a document with multiple columns and/or rows.For use with the PageSetup.StartingPositionDirection property.

BtUnits

Many of the PageSetup properties return numerical values, such as the label length or a margin size.These properties take a BtUnits constant that specifies the unit of measurement used in determining the numerical values.For use with multiple PageSetup properties, and the MeasurementUnits property.

相關主題