ComponentOne Excel for .NET
C1.Excel Assembly / C1.Excel Namespace / XLFont Class / GetMeasure Method
The text for measuring.

In This Topic
    GetMeasure Method
    In This Topic
    Gets text measure as System.Drawing.SizeF of this font.
    Syntax
    'Declaration
     
    Public Function GetMeasure( _
       ByVal text As System.String _
    ) As System.Drawing.SizeF
    public System.Drawing.SizeF GetMeasure( 
       System.string text
    )

    Parameters

    text
    The text for measuring.

    Return Value

    The size in points of the text for this font.
    See Also