Click or drag to resize
Pdf Library for .NET

PdfFont Class

Represents a font in a pdf document.
Inheritance Hierarchy
SystemObject
  SelectPdfPdfFont

Namespace:  SelectPdf
Assembly:  Select.Pdf (in Select.Pdf.dll) Version: 20.2
Syntax
public class PdfFont

The PdfFont type exposes the following members.

Properties
  NameDescription
Public propertyFontBaseFamily
Gets the predefined family name.
Public propertyFontFamily
Gets the name of the font family.
Public propertyHeight
Gets the font height.
Public propertyIsStrikeout
A flag to indicate if the font is strikeout.
Public propertyIsUnderline
A flag to indicate if the font is underline.
Public propertySize
Gets or sets the font size in points.
Top
Methods
  NameDescription
Public methodClone
Creates a clone of this font in the specified pdf document.
Public methodGetCharWidth
Gets the width of the specified character in points.
Public methodGetSystemFont
Converts the current pdf font to a corresponding system font.
Public methodGetTextSize
Gets the size of the specified string in points.
Public methodGetTextWidth
Get the width in points of the specified string.
Top
See Also