Please enable JavaScript to view this site.

 

void = SetBoxBottom(nFixedUnits)

 

This macro function is used to specify the bottom position of the textbox that contains the macro token.

 

The bottom position of a textbox is related to the sum of the values of Y+H which appear in the measurements palette of QuarkXPress and InDesign, as shown in the image on the right.

 

Looking at the measurements palette of QuarkXPress and InDesign, as shown in the image on the right, the effect of this function is to change the value of H so that Y+H equals nFixedUnits.

Textbox resizing functions only work on textboxes whose angle is a multiple of 90 degrees (0­°, 90°, 180°, or 270°) and we strongly encourage you to always use non-rotated textboxes (with an angle of 0°) for any macro which contains the above macro function, as explained in the gridtemplate construction guidelines.

A fixed unit is the smallest unit of size, used by both QuarkXPress and InDesign, and is defined as 1/65536 of a point. This means that an inch is 4718592 fixed units, and a millimeter is approximately 185771 fixed units.

Remember that, in both QuarkXPress and InDesign, vertical positions are zero at the top of the page and increase going down the page.

The value of the position you supply to this function must include the offset from the pasteboard to the top of the page, whose value differs between versions of QuarkXPress and InDesign, and can be obtained from the n_VerticalPasteBoardOffset system variable.

 

This function will affect the height of the textbox, depending on the value of nFixedUnits in comparison to the bottom position of the textbox before the function was called.

 

See also: MoveBoxVert and textbox resizing macro functions.

 


Topic 179905, last updated on 18-Dec-2024