Skip to content

@shbernal/pptxgenjs


@shbernal/pptxgenjs / index / Emu

Type Alias: Emu

Emu = number & object

Defined in: units.ts:17

English Metric Units — the integer unit OOXML serializes geometry in (914400 per inch).

Branded so a value that has already been resolved to EMU cannot be silently fed back into a unit converter: coordToEmu only accepts a user Coord, so passing an Emu into it is a compile-time error. This replaces the old runtime "a number ≥ 100 must already be EMU" magnitude guess, which silently mis-rendered values near the threshold.

Type Declaration

__unit

readonly __unit: "emu"