ComponentOne Excel for .NET
C1.Excel Assembly / C1.Util Namespace / SvgRendering Class / MeasureString Method
String to measure.
Layout width.

In This Topic
    MeasureString Method (SvgRendering)
    In This Topic
    Measures size of string in layout area.
    Syntax
    'Declaration
     
    Public Function MeasureString( _
       ByVal s As System.String, _
       Optional ByVal width As System.Double _
    ) As System.ValueTuple(Of Double,Double)
    public System.ValueTuple<double,double> MeasureString( 
       System.string s,
       System.double width
    )

    Parameters

    s
    String to measure.
    width
    Layout width.

    Return Value

    Calculating text height.
    See Also