TreeView for WinForms | ComponentOne
C1.Win.C1SuperTooltip Namespace / C1SuperLabelBase Class / Measure Method / Measure(Graphics) Method
System.Drawing.Graphics used to measure.

In This Topic
    Measure(Graphics) Method
    In This Topic
    Measures the width and height of the control content using specified System.Drawing.Graphics.
    Syntax
    'Declaration
     
    
    Public Overloads Function Measure( _
       ByVal graphics As Graphics _
    ) As Size
    public Size Measure( 
       Graphics graphics
    )

    Parameters

    graphics
    System.Drawing.Graphics used to measure.

    Return Value

    System.Drawing.Size object that represents the size of the content, in pixels.
    See Also