Please enable JavaScript to view this site.

 

void = MoveBoxLeft(nFixedUnits)

 

the left of a textbox is the value of X

the left of a textbox is the value of X

This macro function moves the left position of the current textbox by nFixedUnits.

 

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 X by nFixedUnits, and the value of W by -nFixedUnits (where nFixedUnits can be a negative number).

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.

 

A positive value of nFixedUnits means that the textbox will get narrower, while a negative value of nFixedUnits means that the textbox will get wider.

 

See also: MoveBoxHor and textbox resizing macro functions.

 


Topic 181625, last updated on 25-Jan-2021