Retrieves the height in pixels of the generated chart.

    object.GetHeight

#### Arguments

object
  Required. A Chart object.

#### Return Value

The GetHeight method returns an integer value that identifies the final height in pixels of the generated chart.

Loading a chart style with the LoadStyle method sets the height to the value stored in the style file.

#### VBScript Sample Code

The following VBScript code illustrates use of the GetHeight method in an ASP page.

    chart.SetDataFromQuery
    chart.LoadStyle "C:\myStyle.scs"

    'Retrieve movie Width and Height set by the call of LoadStyle method
    w= chart.GetWidth
    h= chart.GetHeight

    'Now scale the movie by 2
    chart.SetWidth 2*w
    chart.SetHeight 2*h

    chart.ExportAsResponse

#### See Also

SetHeight Method | GetTitle Method | GetSubtitle Method | GetWidth Method | GetFrameRate Method

Applies To: Chart Object