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