PdfFont Class

This class represents a font that can be added to a PDF document and used by the text elements

Definition

Namespace: EvoPdf
Assembly: EvoHtmlToPdf_NetCore (in EvoHtmlToPdf_NetCore.dll) Version: 11.0.0
C#
public class PdfFont
Inheritance
Object    PdfFont

Properties

FontBaseFamily Gets the predefined family name of this PDF font.
FontFamily Gets the name of the font family of this PDF font.
Height Gets the height of this PDF font.
IsStrikeout A flag to indicate if the font is strikeout.
IsUnderline A flag to indicate if the font is underline.
Size Gets or sets size in points of this PDF font.

Methods

Clone Creates a clone of this font in the specified document.
Equals
(Inherited from Object)
Finalize
(Inherited from Object)
GetCharWidth Gets the width of the specified character in points.
GetHashCode
(Inherited from Object)
GetSystemFont Converts this font to a corresponding system font.
GetTextSize Gets the size of the specified string in points.
GetTextWidth Get the width in points of the specified string when rendered in PDF using this font.
GetType
(Inherited from Object)
MemberwiseClone
(Inherited from Object)
ToString
(Inherited from Object)

See Also