Please enable JavaScript to view this site.

 

Navigation: Common UI Elements

PictureBox Alignment

Scroll Prev Up Next More
The PictureBox Alignment editor is used to specify the size and position of images inserted into a textbox as the result of the processing of one of the image tokens.

 

The full set of available picturebox alignment options is shown on the right.

 

All the picturebox alignment settings on the right occur as part of the result of a macro or a SARA.

Picturebox alignment settings are also used, in the picturebox options script line property editor, but without the Transparent and Fit box to picture options.

Finally, picturebox alignment settings are used in a simplified form, without the Specify Values and the Transparent and the Fit box to picture options, in the recurring holidays editor, the one-time-dates editor, and the slogans editor, in conjunction with the processing of holiday image tokens and slogan image tokens.

 

When the above tokens are converted, a picturebox is created with the exact position and size as the textbox that contained the original token.

 

Basic Picture Alignment

 

These are the basic, parameter-less settings, corresponding to the images on the right.

 

The screenshots on the right were extracted from the measurements editor and the pop-up menu of QuarkXPress, and show that, without even considering InDesign, the naming conventions are not consistent, which is the reason why we decided to use our own, hopefully more obvious, naming conventions.

 

Center (no stretch)

 

The image's center is placed at the center of the picturebox. The image's size is not modified, neither to fill the box nor to fit into the box.

 

Stretch (keep ratio)

 

The image is either shrunk or enlarged proportionately until either the height and width of the image fit into the picturebox, and the other side is smaller than the picturebox. The shrinking or enlargement is done keeping the original image's proportions, so most often the result will be an image that has one side smaller than the picturebox.

 

Top-Left (no stretch)

 

The image's top-left corner is placed at the top-left corner of the picturebox. The image's size is not modified.

 

Advanced Picture Alignment Options

 

These settings are available in advanced saras changes and advanced macros changes, and their use is usually restricted to the more recent versions of QuarkXPress, or to InDesign.

 

Specify Values

 

Using the Specify Values to specify the X/Y position offset and/or the X/Y scale change the image inserted in the PictureBox, when using Quark 2016+ or InDesign.

 

Transparent

 

Use the Transparent option to specify that the inserted picture should be transparent (for black & white and vector images), when using Quark 2015+ or InDesign.

 

Fit box to picture

 

Using the Fit box to picture option to specify that the picturebox height or width should be reduced if it is taller or wider than the enclosed image as currently displayed. What is meant by "as currently displayed" is that the X/Y scale of the picture will not be changed by the use of the Fit box to picture option. This setting requires Quark 2016+ or InDesign.

 

Bounding Box to Use

 

This option is used to specify the bounding box to use when importing a PDF file as image. This setting only applies to the use of PDF files as images, and it requires Quark 2016+ or InDesign.

 

Page Number

 

This option is used to specify which of the pages of a multipage PDF document to use when importing a PDF file as image. This setting only applies to the use of PDF files as images, and it requires Quark 2017+ or InDesign.