Click or drag to resize

PdfFont Class

Represents a font in the PDF document.
Inheritance Hierarchy
SystemObject
  ExpertPdf.HtmlToPdf.PdfDocumentPdfFont

Namespace:  ExpertPdf.HtmlToPdf.PdfDocument
Assembly:  ephtmltopdf (in ephtmltopdf.dll) Version: 17.0.0
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 font size in points.
Top
Methods
  NameDescription
Public methodClone
Creates a clone of this font in the specified document.
Public methodGetCharWidth
Gets the width of the specified character in points.
Public methodGetSystemFont
Converts this 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