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

StringUnit

public enum StringUnit
Specifies the units of measure for a text string.
Display = 1

Specifies the device unit as the unit of measure.

Specifies 1/300 of an inch as the unit of measure.

Em = 32

Specifies a printer's em size of 32 as the unit of measure.

Inch = 4

Specifies an inch as the unit of measure.

Specifies a millimeter as the unit of measure.

Pixel = 2

Specifies a pixel as the unit of measure.

Point = 3

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

World = 0

Specifies world units as the unit of measure.