Represents the font.
Namespace: Spire.Pdf.GraphicsAssembly: Spire.Pdf (in Spire.Pdf.dll) Version: 7.9.2.0 (7.9.2.1020)
Syntax
| C# | Visual Basic | Visual C++ | F# |
public abstract class PdfFontBase : [T:sprᝰ], [T:sprᝫ], IDisposable
Public MustInherit Class PdfFontBase Implements [T:sprᝰ], [T:sprᝫ], IDisposable
public ref class PdfFontBase abstract : [T:sprᝰ], [T:sprᝫ], IDisposable
[<AbstractClassAttribute>] type PdfFontBase = class interface [T:sprᝰ] interface [T:sprᝫ] interface IDisposable end
Members
| All Members | Constructors | Fields | Properties | Methods |
| 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) |
Determines whether the specified Object is equal to the current 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()()()() |
Returns a String that represents the current Object.
(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