Xamarin.Forms | ComponentOne
C1.Xamarin.Forms.Chart Assembly / C1.Xamarin.Forms.Chart.Annotation Namespace / Text Class / OnMeasure Method


In This Topic
    OnMeasure Method (Text)
    In This Topic
    Syntax
    'Declaration
     
    
    Protected Overridable Function OnMeasure( _
       ByVal widthConstraint As Double, _
       ByVal heightConstraint As Double _
    ) As Xamarin.Forms.SizeRequest
    'Usage
     
    
    Dim instance As Text
    Dim widthConstraint As Double
    Dim heightConstraint As Double
    Dim value As Xamarin.Forms.SizeRequest
     
    value = instance.OnMeasure(widthConstraint, heightConstraint)
    protected virtual Xamarin.Forms.SizeRequest OnMeasure( 
       double widthConstraint,
       double heightConstraint
    )

    Parameters

    widthConstraint
    heightConstraint
    See Also