Click or drag to resize

PdfFontMetrics Methods

The PdfFontMetrics type exposes the following members.

Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Protected methodGetCharMetrics
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.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodCode exampleGetTextBounds(Double, String)
Gets bounding box that surrounds the text.
Public methodCode exampleGetTextBounds(Double, String, Int32, Int32)
Gets bounding box that surrounds the text.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLineSpacing
Measures the line spacing for a font in a given point size.
Public methodCode exampleMeasureText(Double, String)
Measures the given text in the provided font size in points.
Public methodCode exampleMeasureText(Double, String, Int32, Int32)
Measures the given text in the provided font size in points.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also