[]
        
(Showing Draft Content)

C1.WPF.Word.C1WordDocument.MeasureFontSize

MeasureFontSize Method

MeasureFontSize(string, Font, double)

Measure font size for the text of this document.

Declaration
public static Font MeasureFontSize(string text, Font font, double width)
Parameters
Type Name Description
string text

The drawing string.

Font font

The drawing base font.

double width

The current size in points for fit the drawing string.

Returns
Type Description
Font

The new drawing font with calculated font size.