Paper Office
paper-docxAPI referenceshared

Inches

paper-docx 0.2.0 API reference

Convenience constructor for length in inches, e.g. width = Inches(0.5).

Attributes

cm

attributecm

The equivalent length expressed in centimeters (float).

emu

attributeemu

The equivalent length expressed in English Metric Units (int).

inches

attributeinches

The equivalent length expressed in inches (float).

mm

attributemm

The equivalent length expressed in millimeters (float).

pt

attributept

Floating point length in points.

twips

attributetwips

The equivalent length expressed in twips (int).

On this page