PdfFont Class

This class represents a font in the PDF document that can be used by the text elements

Definition

Namespace: EvoPdfClient
Assembly: EvoPdfClient (in EvoPdfClient.dll) Version: 11.0.0.0 (11.0.0.0)
C#
public class PdfFont
Inheritance
Object    PdfFont

Constructors

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

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

EqualsDetermines whether the specified Object is equal to the current Object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as a hash function for a particular type.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also