<PackageReference Include="System.Drawing.Common" Version="8.0.0-preview.7.23375.5" />

GraphicsUnit

public enum GraphicsUnit
Specifies the unit of measure for the given data.
Display = 1

Specifies the unit of measure of the display device. Typically pixels for video displays, and 1/100 inch for printers.

Specifies the document unit (1/300 inch) as the unit of measure.

Inch = 4

Specifies the inch as the unit of measure.

Specifies the millimeter as the unit of measure.

Pixel = 2

Specifies a device pixel as the unit of measure.

Point = 3

Specifies a printer's point (1/72 inch) as the unit of measure.

World = 0

Specifies the world coordinate system unit as the unit of measure.