Click or drag to resize

PdfFontStyle Enumeration

Represents the style of a font as normal, italic or oblique.

Namespace: SautinSoft.Pdf.Content
Assembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2025.11.10
Syntax
public enum PdfFontStyle
Members
Member nameValueDescription
Normal0 The characters are upright.
Oblique1 The characters are artificially slanted. The slant is achieved by performing a shear transformation on the characters from a normal font. When a true italic font is not available on a computer or printer, an oblique style can be generated from the normal font and used to simulate an italic font.
Italic2 The characters are truly slanted and appear as they were designed.
Remarks
The PdfFontStyle fields correspond to the fsSelection definition in the OpenType specification. if fsSelection bit 9 is set, font style is Oblique; otherwise, if fsSelection bit 0 is set, font style is Italic; otherwise, font style is Normal.
See Also