This class represents a font in the PDF document that can be used by the text elements
Inheritance Hierarchy
EvoPdf.HtmlToPdfClientPdfFont
Namespace: EvoPdf.HtmlToPdfClient
Assembly: EvoHtmlToPdfClient (in EvoHtmlToPdfClient.dll) Version: 9.0.0.0 (9.0.0.0)
Syntax
The PdfFont type exposes the following members.
Constructors
Name | Description | |
---|---|---|
PdfFont(Byte, Single) |
Creates a PDF font from font data
| |
PdfFont(StandardCJKFont, Single) |
Creates a CJK font
| |
PdfFont(StdFontBaseFamily, Single) |
Creates a standard PDF font
| |
PdfFont(String, Single) |
Creates a PDF font from a font file
| |
PdfFont(String, Single, Boolean) |
Creates a PDF font for a font family name. The font must be installed on the server.
|
Properties
Name | Description | |
---|---|---|
Bold |
Gets or sets a flag indicating if the font is bold
| |
EmbedFont |
Gets or sets a flag indicating if the font should be embedded in PDF document.
This is flag is used when the font is constructed with font family name and can be overridden by TextElement options.
Default value is true
| |
FontData |
Gets or sets the font data
| |
FontFamily |
Gets or sets the name of the font family of this PDF font
| |
Italic |
Gets or sets a flag indicating if the font is italic
| |
Size |
Gets or sets the PDF font size in points
| |
StandardCJK |
Gets or sets the predefined CJK font
| |
StandardFamily |
Gets or sets the predefined family name of this PDF font
| |
Strikeout |
Gets or sets a flag indicating if the font is strikeout.
| |
Underline |
Gets or sets a flag indicating if the font is underline
|
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
See Also