Xamarin.iOS Documentation | ComponentOne
C1.iOS.Core Assembly / C1.iOS.Core Namespace / IRenderEngine Interface / MeasureString Method
String to measure.


In This Topic
    MeasureString Method
    In This Topic
    Measures size of string.
    Syntax
    'Declaration
     
    
    Function MeasureString( _
       ByVal s As String _
    ) As CoreGraphics.CGSize
    'Usage
     
    
    Dim instance As IRenderEngine
    Dim s As String
    Dim value As CoreGraphics.CGSize
     
    value = instance.MeasureString(s)
    CoreGraphics.CGSize MeasureString( 
       string s
    )

    Parameters

    s
    String to measure.

    Return Value

    Size.
    See Also