Please enable JavaScript to view this site.

 

int SizeIn(nInchesTimes100)

 

This macro function converts a size nInchesTimes100 defined in 1/100th inches to a size in the internal units used by QuarkXPress and InDesign.

 

A QuarkXPress/InDesign unit 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.

nPosRight = SizeIn(2500// 2.5 inches
SetBoxRight(nPosRight)

See also: textbox resizing macro functions.

 


Topic 139900, last updated on 22-Nov-2021