PdfFont Class

EVO HTML to PDF Converter Client Documentation
This class represents a font in the PDF document that can be used by the text elements
Inheritance Hierarchy

SystemObject
  EvoPdf.HtmlToPdfClientPdfFont

Namespace:  EvoPdf.HtmlToPdfClient
Assembly:  EvoHtmlToPdfClient (in EvoHtmlToPdfClient.dll) Version: 7.5.0.0 (7.5.0.0)
Syntax

public class PdfFont

The PdfFont type exposes the following members.

Constructors

  NameDescription
Public methodPdfFont(Byte, Single)
Creates a PDF font from font data
Public methodPdfFont(String, Single)
Creates a PDF font from a font file
Public methodPdfFont(StandardCJKFont, Single)
Creates a CJK font
Public methodPdfFont(StdFontBaseFamily, Single)
Creates a standard PDF font
Public methodPdfFont(String, Single, Boolean)
Creates a PDF font for a font family name. The font must be installed on the server.
Top
Properties

  NameDescription
Public propertyBold
Gets or sets a flag indicating if the font is bold
Public propertyEmbedFont
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
Public propertyFontData
Gets or sets the font data
Public propertyFontFamily
Gets or sets the name of the font family of this PDF font
Public propertyItalic
Gets or sets a flag indicating if the font is italic
Public propertySize
Gets or sets the PDF font size in points
Public propertyStandardCJK
Gets or sets the predefined CJK font
Public propertyStandardFamily
Gets or sets the predefined family name of this PDF font
Public propertyStrikeout
Gets or sets a flag indicating if the font is strikeout.
Public propertyUnderline
Gets or sets a flag indicating if the font is underline
Top
Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also

Reference