[]
        
(Showing Draft Content)

C1.C1Word.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)
Public Shared Function MeasureFontSize(text As String, font As Font, width As Double) As Font
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.