Click or drag to resize

FontFontWeight Enumeration

Weight enum values Avoid casting these values to int. Use ON_Font::WindowsLogfontWeightFromWeight() or ON_Font::AppleWeightOfFontFromWeight() or add another converter.

Namespace:  Rhino.DocObjects
Assembly:  RhinoCommon (in RhinoCommon.dll)
public enum FontWeight
  Member nameValueDescription
Unset0 Not set.
Thin1 IsLight = true
Ultralight2 IsLight = true
Light3 IsLight = true
Normal4 Default font weight. IsNormalWeight = true Also called Regular.
Medium5 IsNormalWeight = true
Semibold6 IsBold = true
Bold7 IsBold = true
Ultrabold8 IsBold = true
Heavy9 IsBold = true Also called Black
See Also