• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Enum PdfFontStretch

Font stretch (width class) from the OpenType OS/2 table usWidthClass field (spec §9.9, Table 123). Values 1–9 map to the CSS font-stretch property.

Namespace: DRIT.Pdf.Content
Assembly: DRIT.Pdf.dll
Syntax
public enum PdfFontStretch

Fields

Name Description
Condensed

Condensed (usWidthClass = 3, 75% of normal).

Expanded

Expanded (usWidthClass = 7, 125% of normal).

ExtraCondensed

Extra-condensed (usWidthClass = 2, 62.5% of normal).

ExtraExpanded

Extra-expanded (usWidthClass = 8, 150% of normal).

Medium

Medium / normal (usWidthClass = 5, 100% of normal).

Normal

Not specified (usWidthClass = 0 or absent).

SemiCondensed

Semi-condensed (usWidthClass = 4, 87.5% of normal).

SemiExpanded

Semi-expanded (usWidthClass = 6, 112.5% of normal).

UltraCondensed

Ultra-condensed (usWidthClass = 1, 50% of normal).

UltraExpanded

Ultra-expanded (usWidthClass = 9, 200% of normal).

Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX