PdfFontMetrics Class |
Namespace: Atalasoft.PdfDoc.Generating.ResourceHandling.Fonts
The PdfFontMetrics type exposes the following members.
Name | Description | |
---|---|---|
PdfFontMetrics | Initializes a new instance of the PdfFontMetrics class |
Name | Description | |
---|---|---|
Ascent |
Gets the ascent of the font in PDF font design units.
| |
Descent |
Gets the descent of the font in PDF font design units. The Descent is the distance that the font extends below the baseline of the font. Descent is usually negative.
| |
FontBounds |
Gets the smallest bounding box that can surround all glyphs within the font. Units are in PDF font design units.
| |
Leading |
Gets the recommended leading for this font in PDF font design units. This should be the height of the gap
between lines, not the distance between baselines of successive lines. The distance between successive lines
will be Ascent - Descent + Leading.
|
Name | Description | |
---|---|---|
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.) | |
GetCharMetrics |
Gets the metrics for a given character using the specified transform. This method is implemented by concrete
instances of PdfFontMetrics. Client code will not typically create subclasses of PdfFontMetrics.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetTextBounds(Double, String) |
Gets bounding box that surrounds the text.
| |
GetTextBounds(Double, String, Int32, Int32) |
Gets bounding box that surrounds the text.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
LineSpacing |
Measures the line spacing for a font in a given point size.
| |
MeasureText(Double, String) |
Measures the given text in the provided font size in points.
| |
MeasureText(Double, String, Int32, Int32) |
Measures the given text in the provided font size in points.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |