Data Type Dialog

Use the Data Type dialog to specify the data type for a text object's data source. When you select a specific data type for the data source, you prevent BarTender from interpreting certain data inputs, such as numerical values, dates, or binary data, as text. By changing the data type of a value, you can perform mathematical functions on numerical values, format and display scientific notation, automatically display numbers as percentages, format and serialize roman numerals, perform functions on date objects, or display the time and date in a different language's format without changing the language of the application.

ClosedTo open the Data Type dialog

  1. Click inside the text object.

  2. Open the on-screen editing context menu by using one of the following methods: 

    • Use the secondary mouse button to click an existing data source (that is not an Embedded Data data source).

    • Select one or more characters of an Embedded Data data source, and then use the secondary mouse button to click the selected content.

  3. Click Data Type. The Data Type dialog opens.

For more information about the options that are available on this context menu, refer to On-Screen Editing Context Menu.

The following options are available:

The remaining properties that you can configure for the data type depend on the data type that is specified by the Type property.

ClosedText

The Text data type formats the data source value as one or more lines of text, including letters, numbers, and/or special characters. This is the default data type for all text objects in BarTender.

There are no additional properties to configure for a Text data type.

ClosedDate

The Date data type formats the data source value as a date that consists of one or more of the following attributes: a day of the week, a day of the month, a month, a year, and/or a time.

You can configure the following properties for a Date data type:

ClosedTime

The Time data type formats the data source value as a time that consists of one or more of the following attributes: hours, minutes, seconds, and/or fractions of seconds.

You can configure the following properties for a Time data type:

ClosedNumber

The Number data type formats numerical data according to a specific locale and/or notation.

You can configure the following properties for a Number data type:

ClosedCurrency

The Currency data type formats your text as a numerical input of a monetary amount.

You can configure the following properties for a Currency data type:

ClosedPercentage

The Percentage data type formats the data source value as a number and a percent sign (%), and it represents portions of a greater whole.

You can configure the following properties for a Percentage data type:

ClosedFraction

The Fraction data type formats the data source value as a numerical fraction, complete with a numerator and a denominator.

You can configure the following properties for a Fraction data type: