Gauge for WPF | ComponentOne
C1.WPF.Rendering Assembly / C1.WPF.Rendering Namespace / IRenderingEngine Interface / MeasureString Method / MeasureString(String,Size) Method
String to measure.
Layout size.

In This Topic
    MeasureString(String,Size) Method
    In This Topic
    Measures size of string in layout area.
    Syntax
    'Declaration
     
    Overloads Function MeasureString( _
       ByVal s As String, _
       ByVal sz As Size _
    ) As Size
    Size MeasureString( 
       string s,
       Size sz
    )

    Parameters

    s
    String to measure.
    sz
    Layout size.

    Return Value

    Size.
    See Also