Skip to main content
Module

x/docxml/mod.ts>Length

TypeScript (component) library for building and parsing a DOCX file
Go to Latest
type alias Length
import { type Length } from "https://deno.land/x/docxml@5.9.0/mod.ts";

An object that describes a size or length in various cross-computable units. Useful for telling the library how centimeters you would like one thing to be, while the one thing is defined as twentieth- points, EMU's or ostriches behind the scenes.

See also the functions cm, pt, hpt, twip and inch.

definition: { pt: number; emu: number; hpt: number; opt: number; twip: number; cm: number; inch: number; }