Measurements and units

The function insert_image supports measurements in the following units:

  • centimeters (cm)
  • inches (in or '"')
  • points (pt)
  • English Metrical Unit (emu) -- base unit internally used by Microsoft Word

The unit must always be explicitly specified. No spaces are allowed between number and unit. Fractions are always indicated with a decimal point. The following measurements are equivalent.

 2.54cm = 1.0in = 1" = 72pt =
914400emu

An empty string or a value of zero, such 0cm and 0in, is considered unspecified.