paper-docxAPI referenceshared
Length
paper-docx 0.2.0 API reference
Base class for length constructor classes Inches, Cm, Mm, Px, and Emu.
Behaves as an int count of English Metric Units, 914,400 to the inch, 36,000 to the mm. Provides convenience unit conversion methods in the form of read-only properties. Immutable.
Attributes
cm
attributecmThe equivalent length expressed in centimeters (float).
emu
attributeemuThe equivalent length expressed in English Metric Units (int).
inches
attributeinchesThe equivalent length expressed in inches (float).
mm
attributemmThe equivalent length expressed in millimeters (float).
pt
attributeptFloating point length in points.
twips
attributetwipsThe equivalent length expressed in twips (int).