Auto Fit Property Page

Use the Auto Fit property page, which is located on the Object Properties dialog for text and barcode objects, to configure the object so that the text within the object is automatically resized to fit within the object's specified dimensions.

This feature is useful when the data that is contained in the object is variable in length but must always fit within a certain area on the template. You can specify the object's dimensions and then configure the adjustments that BarTender makes to the text when the text exceeds the object's dimensions in order for the text to fit in the object. You can also link the adjustments between objects when they are in an object group.

The following options are available:

Dimensions

These settings specify the boundaries into which the text must fit.

The meanings of the width and height values vary depending on the type of text object that you are using, as follows:

Content Alignment

When the object does not fit exactly within the rectangle, these values correspond to the alignment of the text within the bounds. Horizontal content alignment is not available for wrapped text because the paragraph width is always the same as the auto-fit width.

Adjustments

When you select the Preferred option for an adjustment method, BarTender uses that adjustment first when the text size needs to be adjusted. If the text still does not fit the specified dimensions, then any other enabled adjustment methods are applied.

Linked Adjustments

When you link adjustments between multiple objects, you provide a consistent font appearance across multiple fields.

For example, consider an address label that has four separate text objects for the separate parts of the address. One of the objects is variable in length and requires that you enable auto-fit with a minimum font scale width of 60 percent that can be applied when the text exceeds the object size. You then want to ensure that the text of the four objects remains the same size when the size adjustment is applied to the variable-length object. To do this, you can group the four text objects and then, by using the Auto Fit property page for each of the objects, select Link adjustments between objects in the same group, making sure to select the required group in the Link Group list. By doing this, the text adjustment that is applied to the one text object is also applied to the others in the group.

Supported Objects

This property page is available for the following types of objects: