ComponentOne 3D Chart for WinForms
C1.Win.C1Chart3D.4.8 Assembly / C1.Win.C1Chart3DBase Namespace / baseChartStyle Class / GetHeight Method
A System.Drawing.Graphics object that encapsulates a GDI+ drawing surface.
The content width.
String to measure.
Image to measure.

In This Topic
    GetHeight Method
    In This Topic
    Calculates the height of the content based on the specified width and style.
    Syntax
    'Declaration
     
    Public Function GetHeight( _
       ByVal g As System.Drawing.Graphics, _
       ByVal width As System.Integer, _
       ByVal str As System.String, _
       ByVal img As System.Drawing.Image _
    ) As System.Integer
    public System.int GetHeight( 
       System.Drawing.Graphics g,
       System.int width,
       System.string str,
       System.Drawing.Image img
    )

    Parameters

    g
    A System.Drawing.Graphics object that encapsulates a GDI+ drawing surface.
    width
    The content width.
    str
    String to measure.
    img
    Image to measure.

    Return Value

    Calculated height.
    See Also