Skip to main content
Module

x/docxml/src/utilities/length.ts

An experimental Deno tool to transform XML to DOCX with a little XPath- and component based configuration
Go to Latest
import * as docxml from "https://deno.land/x/docxml@3.1.1/src/utilities/length.ts";

Functions

Converts centimeters to any of the other units of length.

Converts English metric units to any of the other units of length.

Converts half-points to any of the other units of length.

Converts inches to any of the other units of length.

Converts points to any of the other units of length.

Converts twentieth-points to any of the other units of length.

Type Aliases

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.