Skip to main content
Skip table of contents

PdfFont

PdfFont Public class

Diagram

  flowchart LR
  classDef interfaceStyle stroke-dasharray: 5 5;
  classDef abstractStyle stroke-width:4px
  subgraph iTextSharp.text.pdf
  iTextSharp.text.pdf.PdfFont[[PdfFont]]
  end
  subgraph System
System.IComparable_1[[IComparable]]
  end
System.IComparable_1 --> iTextSharp.text.pdf.PdfFont

Members

Properties

Internal properties
TypeNameMethods
BaseFontFontget
floatHorizontalScalingget, set
floatSizeget
Internal Static properties
TypeNameMethods
PdfFontDefaultFontget

Methods

Public methods
ReturnsName
intCompareTo(PdfFont pdfFont)
Internal methods
ReturnsName
floatWidth(...)

Details

Inheritance

Constructors

PdfFont

Source code

internal PdfFont(BaseFont bf, float size)
Arguments
TypeNameDescription
BaseFontbf
floatsize

Methods

CompareTo

Source code

public virtual int CompareTo(PdfFont pdfFont)
Arguments
TypeNameDescription
PdfFontpdfFont
Width [1/3]

Source code

internal float Width()
Width [2/3]

Source code

internal float Width(int character)
Arguments
TypeNameDescription
intcharacter
Width [3/3]

Source code

internal float Width(string s)
Arguments
TypeNameDescription
strings

Properties

Size
internal float Size { get; }
Font
internal BaseFont Font { get; }
DefaultFont
internal static PdfFont DefaultFont { get; }
HorizontalScaling
internal float HorizontalScaling { get; set; }

Generated with ModularDoc

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.