Represents one of the 14 standard PDF fonts.

Namespace: Spire.Pdf.Graphics
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 6.2.6.0 (6.2.6.2020)

Syntax

            
 C#  Visual Basic  Visual C++  F# 
public class PdfFont : PdfFontBase
Public Class PdfFont
	Inherits PdfFontBase
public ref class PdfFont : public PdfFontBase
type PdfFont =  
    class
        inherit PdfFontBase
    end

Members

            
 All Members  Constructors   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
PdfFont(PdfFont, Single)
Initializes a new instance of the class.
PdfFont(PdfFontFamily, Single)
Initializes a new instance of the class.
PdfFont(PdfFont, Single, PdfFontStyle)
Initializes a new instance of the class.
PdfFont(PdfFontFamily, Single, PdfFontStyle)
Initializes a new instance of the class.
ApplyFormatSettings(String, PdfStringFormat, Single) (Inherited from PdfFontBase.)
Bold
Gets a value indicating whether this is bold.
(Inherited from PdfFontBase.)
Descent
Gets the descent of the font in points.
(Inherited from PdfFontBase.)
Dispose()()()() (Inherited from PdfFontBase.)
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
EqualsToFont(PdfFontBase) (Overrides PdfFontBase..::..EqualsToFont(PdfFontBase).)
Finalize()()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
FontFamily
Gets the FontFamily.
GetCharCodeInFont(Char) (Overrides PdfFontBase..::..GetCharCodeInFont(Char).)
GetCharWidth(Char, PdfStringFormat) (Overrides PdfFontBase..::..GetCharWidth(Char, PdfStringFormat).)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetLineInFont(String) (Overrides PdfFontBase..::..GetLineInFont(String).)
GetLineWidth(String, PdfStringFormat) (Overrides PdfFontBase..::..GetLineWidth(String, PdfStringFormat).)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
Height
Gets the height of the font in points.
(Inherited from PdfFontBase.)
Italic
Gets a value indicating whether this is italic.
(Inherited from PdfFontBase.)
MeasureString(String)
Measures a string by using this font.
(Inherited from PdfFontBase.)
MeasureString(String, PdfStringFormat)
Measures a string by using this font.
(Inherited from PdfFontBase.)
MeasureString(String, SizeF)
Measures a string by using this font.
(Inherited from PdfFontBase.)
MeasureString(String, Single)
Measures a string by using this font.
(Inherited from PdfFontBase.)
MeasureString(String, SizeF, PdfStringFormat)
Measures a string by using this font.
(Inherited from PdfFontBase.)
MeasureString(String, Single, PdfStringFormat)
Measures a string by using this font.
(Inherited from PdfFontBase.)
MeasureString(String, PdfStringFormat, Int32%, Int32%)
Measures a string by using this font.
(Inherited from PdfFontBase.)
MeasureString(String, SizeF, PdfStringFormat, Int32%, Int32%)
Measures a string by using this font.
(Inherited from PdfFontBase.)
MeasureString(String, Single, PdfStringFormat, Int32%, Int32%)
Measures a string by using this font.
(Inherited from PdfFontBase.)
MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Name
Gets the name.
(Inherited from PdfFontBase.)
SetStyle(PdfFontStyle) (Inherited from PdfFontBase.)
Size
Gets the size.
(Inherited from PdfFontBase.)
Strikeout
Gets a value indicating whether this is strikeout.
(Inherited from PdfFontBase.)
Style
Gets the style information for this font.
(Inherited from PdfFontBase.)
ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Underline
Gets a value indicating whether this is underline.
(Inherited from PdfFontBase.)

Inheritance Hierarchy

System..::..Object
  Spire.Pdf.Graphics..::..PdfFontBase
    Spire.Pdf.Graphics..::..PdfFont

See Also