Represents the font.
Namespace: Spire.Pdf.GraphicsAssembly: Spire.Pdf (in Spire.Pdf.dll) Version: 6.2.6.0 (6.2.6.2020)
Syntax
C# | Visual Basic | Visual C++ | F# |
public abstract class PdfFontBase : IPdfWrapper, IPdfCache, IDisposable
Public MustInherit Class PdfFontBase Implements IPdfWrapper, IPdfCache, IDisposable
public ref class PdfFontBase abstract : IPdfWrapper, IPdfCache, IDisposable
[<AbstractClassAttribute>] type PdfFontBase = class interface IPdfWrapper interface IPdfCache interface IDisposable end
Members
All Members | Constructors | Fields | Properties | Methods |
Public Protected | Instance Static | Declared Inherited | XNA Framework Only .NET Compact Framework Only |
Member | Description | |
---|---|---|
PdfFontBase(Single) | Initializes a new instance of the PdfFontBase class | |
PdfFontBase(Single, PdfFontStyle) | Initializes a new instance of the PdfFontBase class | |
ApplyFormatSettings(String, PdfStringFormat, Single) | ||
Bold |
Gets a value indicating whether this is bold.
| |
Descent |
Gets the descent of the font in points.
| |
Dispose()()()() | Releases all resources used by the PdfFontBase | |
Equals(Object) | (Inherited from Object.) | |
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.) | |
GetCharCodeInFont(Char) | ||
GetCharWidth(Char, PdfStringFormat) | ||
GetHashCode()()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
GetLineInFont(String) | ||
GetLineWidth(String, PdfStringFormat) | ||
GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
Height |
Gets the height of the font in points.
| |
Italic |
Gets a value indicating whether this is italic.
| |
MeasureString(String) |
Measures a string by using this font.
| |
MeasureString(String, PdfStringFormat) |
Measures a string by using this font.
| |
MeasureString(String, SizeF) |
Measures a string by using this font.
| |
MeasureString(String, Single) |
Measures a string by using this font.
| |
MeasureString(String, SizeF, PdfStringFormat) |
Measures a string by using this font.
| |
MeasureString(String, Single, PdfStringFormat) |
Measures a string by using this font.
| |
MeasureString(String, PdfStringFormat, Int32%, Int32%) |
Measures a string by using this font.
| |
MeasureString(String, SizeF, PdfStringFormat, Int32%, Int32%) |
Measures a string by using this font.
| |
MeasureString(String, Single, PdfStringFormat, Int32%, Int32%) |
Measures a string by using this font.
| |
MemberwiseClone()()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
Name |
Gets the name.
| |
s_syncObject | ||
SetStyle(PdfFontStyle) | ||
Size |
Gets the size.
| |
Strikeout |
Gets a value indicating whether this is strikeout.
| |
Style |
Gets the style information for this font.
| |
ToString()()()() | (Inherited from Object.) | |
Underline |
Gets a value indicating whether this is underline.
|
Inheritance Hierarchy
System..::..Object
Spire.Pdf.Graphics..::..PdfFontBase
Spire.Pdf.Graphics..::..PdfCjkStandardFont
Spire.Pdf.Graphics..::..PdfFont
Spire.Pdf.Graphics..::..PdfTrueTypeFont
Spire.Pdf.Graphics..::..PdfFontBase
Spire.Pdf.Graphics..::..PdfCjkStandardFont
Spire.Pdf.Graphics..::..PdfFont
Spire.Pdf.Graphics..::..PdfTrueTypeFont