We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 96313c1 commit a17e4c8Copy full SHA for a17e4c8
1 file changed
src/dotnetCampus.OpenXmlUnitConverter/UnitConverter.cs
@@ -42,6 +42,10 @@ public static PixelPercentage ToPixelPercentage(this EmuPercentage emuPercentage
42
43
public static Pixel ToPixel(this Inch inch) => inch.ToEmu().ToPixel();
44
45
+ public static Pixel ToPixel(this Cm cm) => cm.ToEmu().ToPixel();
46
+
47
+ public static Pixel ToPixel(this Mm mm) => mm.ToEmu().ToPixel();
48
49
public static Inch ToInch(this Pixel pixel) => pixel.ToEmu().ToInch();
50
51
#endregion
0 commit comments