PDF File Writer Class Library - Author Uzi Granot
PdfFont Class |
PDF font class
Inheritance Hierarchy
Namespace: PdfFileWriter
Assembly: PdfFileWriter (in PdfFileWriter.dll) Version: 1.1.24.0 (1.1.24.0)
Syntax
C#
public class PdfFont : PdfObject, IDisposable, IComparable<PdfFont>
The PdfFont type exposes the following members.
Properties
Name | Description | |
---|---|---|
Document |
PDF document object
(Inherited from PdfObject.) | |
ScaleFactor |
Scale factor
(Inherited from PdfObject.) |
Methods
Name | Description | |
---|---|---|
Ascent |
Font ascent in user units
| |
AscentPlusLeading |
Font ascent in user units
| |
CapHeight |
Capital M height in user units
| |
CharBoundingBox |
Character bounding box in user coordinate units.
| |
CharWidth(Double, Char) |
Character width in user units
| |
CharWidth(Double, DrawStyle, Char) |
Character width in user units
| |
CompareTo(PdfFont) |
Compage PDF font objects
| |
CompareTo(PdfObject) |
Compare the resource codes of two PDF objects.
(Inherited from PdfObject.) | |
CreatePdfFont |
PDF Font resource constructor
| |
Descent |
Font descent in user units
| |
DescentPlusLeading |
Font descent in user units
| |
Dispose |
Dispose FontApi
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
FontDesignToPdfUnits |
Font design units to PDF design units
| |
FontDesignToUserUnits |
Font units to user units
| |
GetCharInfo |
Get character information
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
LineSpacing |
Line spacing in user units
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
StrikeoutPosition |
Strikeout position in user units
| |
StrikeoutWidth |
Strikeout width in user units
| |
SubscriptPosition |
Subscript position in user units
| |
SubscriptSize |
Subscript character size in points
| |
SuperscriptPosition |
Superscript character position
| |
SuperscriptSize |
Superscript character size in points
| |
TextBoundingBox |
Text bounding box in user coordinate units.
| |
TextFitToWidth |
Word spacing to stretch text to given width
| |
TextKerning |
Text Kerning
| |
TextKerningWidth |
Text kerning width
| |
TextWidth |
Text width
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
UnderlinePosition |
Underline position in user units
| |
UnderlineWidth |
Underline width in user units
|
Remarks
For more information go to 2.3 Language Support
For example of defining font resources see 3.2. Font Resources
See Also