Class FontWeights
- Namespace
- iText.IO.Font.Constants
- Assembly
- itext.io.dll
public sealed class FontWeights
- Inheritance
-
FontWeights
- Inherited Members
-
Fields
BLACK
public const int BLACK = 900
Field Value
- int
BOLD
public const int BOLD = 700
Field Value
- int
public const int EXTRA_BOLD = 800
Field Value
- int
public const int EXTRA_LIGHT = 200
Field Value
- int
LIGHT
public const int LIGHT = 300
Field Value
- int
MEDIUM
public const int MEDIUM = 500
Field Value
- int
NORMAL
public const int NORMAL = 400
Field Value
- int
SEMI_BOLD
public const int SEMI_BOLD = 600
Field Value
- int
THIN
public const int THIN = 100
Field Value
- int
Methods
FromType1FontWeight(string)
public static int FromType1FontWeight(string weight)
Parameters
weight
string
Returns
- int
NormalizeFontWeight(int)
public static int NormalizeFontWeight(int fontWeight)
Parameters
fontWeight
int
Returns
- int