Class FontStyle
Inheritance
System.Object
FontStyle
Assembly: IronPdf.dll
Syntax
public sealed class FontStyle : Enum
FontStyle controls how text glyphs are styled when IronPDF renders a PDF to SVG output. Normal is the default upright style and the most common choice. Italic selects a true italic typeface variant, while Oblique applies a slanted rendering when a dedicated italic face is unavailable. Set this value when configuring SVG font appearance during PDF conversion. See the IronPDF SVG conversion docs for context.
// Example: reference the enum value directly
var style = FontStyle.Normal;
Fields
Italic
Declaration
public const FontStyle Italic
Field Value
Normal
Declaration
public const FontStyle Normal
Field Value
Oblique
Declaration
public const FontStyle Oblique
Field Value
value__
Declaration
Field Value
| Type |
Description |
| System.Int32 |
|