GemBox.Pdf
  • Overview
  • Examples
  • Free version
  • Support
  • Pricelist

    Show / Hide Table of Contents

    PdfFontWeight Enum

    Namespace:
    GemBox.Pdf.Content
    Assembly:
    GemBox.Pdf.dll

    Represents the density of a font, in terms of the lightness or heaviness of the strokes.

    • C#
    • VB.NET
    public enum PdfFontWeight
    Public Enum PdfFontWeight
    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.

    Fields

    Black

    The "Black" font weight.

    Bold

    The "Bold" font weight.

    ExtraBold

    The "Extra-bold" font weight.

    ExtraLight

    The "Extra-light" font weight.

    Light

    The "Light" font weight.

    Medium

    The "Medium" font weight.

    Normal

    The "Normal" font weight.

    SemiBold

    The "Semi-bold" font weight.

    Thin

    The "Thin" font weight.

    See Also
    PDF Specification ISO 32000-1:2008, section '5.7 Font Descriptors'
    OpenType font file 'OS/2' table <em>usWeightClass</em> field
    OpenType font file 'head' table <em>macStyle</em> field
    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.