Table of Contents

Enum Unit

Namespace
DocWright.Composition
Assembly
DocWright.Composition.dll

The length units the composition surface accepts.

public enum Unit

Fields

Point = 0

Typographic points (1/72 inch).

Millimetre = 1

Millimetres.

Centimetre = 2

Centimetres.

Inch = 3

Inches.

Remarks

The fluent surface takes lengths as double; everything below it is integer twips. The conversion happens once, at the composition boundary, rounding half away from zero, and the double never travels further down.