Interface ITextMeasurer
Contract for measuring text dimensions using specific font properties.
Namespace: Telerik.Windows.Documents.Core.TextMeasurer
Assembly: Telerik.Windows.Documents.Core.dll
Syntax
public interface ITextMeasurer
Methods
MeasureText(TextProperties, FontProperties)
Measure the text with the given font settings and return calculated metrics.
Declaration
TextMeasurementInfo MeasureText(TextProperties textProperties, FontProperties fontProperties)
Parameters
|
TextProperties
textProperties
The TextProperties class which defines the text, its size and the flow direction. |
|
FontProperties
fontProperties
The FontProperties class which defines the font family, font style and font weight. |
Returns
|
TextMeasurementInfo
The TextMeasurementInfo with the properties of the measured text. |