MCPcopy Index your code
hub / github.com/python-openxml/python-docx / Emu

Class Emu

src/docx/shared.py:89–94  ·  view source on GitHub ↗

Convenience constructor for length in English Metric Units, e.g. ``width = Emu(457200)``.

Source from the content-addressed store, hash-verified

87
88
89class Emu(Length):
90 """Convenience constructor for length in English Metric Units, e.g. ``width =
91 Emu(457200)``."""
92
93 def __new__(cls, emu: int):
94 return Length.__new__(cls, int(emu))
95
96
97class Mm(Length):

Callers 15

_block_widthMethod · 0.90
default_cyMethod · 0.90
scaled_dimensionsMethod · 0.90
line_spacingMethod · 0.90
sizeMethod · 0.90
_tbl_xmlMethod · 0.90
widthMethod · 0.90
convert_from_xmlMethod · 0.90
convert_to_xmlMethod · 0.90
convert_from_xmlMethod · 0.90
convert_to_xmlMethod · 0.90
convert_to_xmlMethod · 0.90

Calls

no outgoing calls

Tested by 2

scale_fixtureMethod · 0.72