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

FontStyle

public enum FontStyle
Specifies style information applied to text.
namespace System.Drawing { [Flags] public enum FontStyle { Regular = 0, Bold = 1, Italic = 2, Underline = 4, Strikeout = 8 } }