<PackageReference Include="System.Drawing.Common" Version="9.0.5" />

MetafileFrameUnit

public enum MetafileFrameUnit
Specifies the unit of measurement for the rectangle used to size and position a metafile. This is specified during the creation of the Metafile object.
namespace System.Drawing.Imaging { public enum MetafileFrameUnit { Pixel = 2, Point, Inch, Document, Millimeter, GdiCompatible } }