ComponentOne FinancialChart for WPF
C1.Chart Namespace / IRenderEngine 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
    'Usage
     
    
    Dim instance As IRenderEngine
    Dim s As String
    Dim sz As _Size
    Dim value As _Size
     
    value = instance.MeasureString(s, sz)
    _Size MeasureString( 
       string s,
       _Size sz
    )
    _Size MeasureString( 
       String^ s,
       _Size sz
    ) 

    Parameters

    s
    String to measure.
    sz
    Layout size.

    Return Value

    Size.
    See Also