Click or drag to resize

PdfFontFace Class

Represents a single variation of a font in terms of PdfFontStyle, PdfFontWeight and PdfFontStretch within the same PdfFontFamily.
Inheritance Hierarchy
SystemObject
  SautinSoft.Pdf.ContentPdfFontFace

Namespace: SautinSoft.Pdf.Content
Assembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2025.11.10
Syntax
public sealed class PdfFontFace : IEquatable<PdfFontFace>

The PdfFontFace type exposes the following members.

Constructors
 NameDescription
Public methodPdfFontFace(String) Initializes a new instance of the PdfFontFace class from the specified face name.
Public methodPdfFontFace(PdfFontFamily, PdfFontStyle, PdfFontWeight, PdfFontStretch) Initializes a new instance of the PdfFontFace class for the specified Family, Style, Weight and Stretch values.
Top
Properties
 NameDescription
Public propertyEmbeddingRights Gets the font embedding licensing rights of the PdfFontFace.
Public propertyFamily Gets the font family from which the font face was constructed.
Public propertyStretch Gets the stretch of the PdfFontFace.
Public propertyStyle Gets the style of the PdfFontFace.
Public propertyWeight Gets the weight of the PdfFontFace.
Top
Methods
 NameDescription
Public methodEquals(Object) Determines whether the specified Object is equal to this PdfFontFace instance.
(Overrides ObjectEquals(Object))
Public methodEquals(PdfFontFace) Determines whether the other PdfFontFace is equal to this PdfFontFace instance.
Public methodGetHashCode Returns a hash code for this PdfFontFace instance.
(Overrides ObjectGetHashCode)
Public methodToString Returns a String that represents this PdfFontFace instance.
(Overrides ObjectToString)
Top
See Also