PdfFontWeight Enumeration |
Represents the density of a font, in terms of the lightness or heaviness of the strokes.
Namespace: SautinSoft.Pdf.ContentAssembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2025.11.10
Syntaxpublic enum PdfFontWeight
Public Enumeration PdfFontWeight
Members| Member name | Value | Description |
|---|
| Thin | 100 |
The "Thin" font weight.
|
| ExtraLight | 200 |
The "Extra-light" font weight.
|
| Light | 300 |
The "Light" font weight.
|
| Normal | 400 |
The "Normal" font weight.
|
| Medium | 500 |
The "Medium" font weight.
|
| SemiBold | 600 |
The "Semi-bold" font weight.
|
| Bold | 700 |
The "Bold" font weight.
|
| ExtraBold | 800 |
The "Extra-bold" font weight.
|
| Black | 900 |
The "Black" font weight.
|
Remarks
The
PdfFontWeight field values correspond to the
usWeightClass definition in the OpenType specification. The
usWeightClass represents an integer value between 1 and 1000 — lower values indicate lighter weights; higher values indicate heavier weights.
See Also