Please enable JavaScript to view this site.


int SizeMm(nMillimetersTimes1000)


This macro function converts a size nMillimetersTimes1000 defined in 1/1000th millimeters 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(100000// 100 mm or about 2.5 inches

See also: textbox resizing macro functions.


Topic 139800, last updated on 22-Nov-2021