Collapse the table of content
Expand the table of content
Expand Minimize
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

Height Property (Graph)

The height of the main application window or the object. If the window is minimized, this property is read-only and refers to the height of the icon. If the window is maximized, this property cannot be set. Use the WindowState property to determine the window state. Read/write Double for all objects, except for the Chart object which is read/write Variant.


expression Required. An expression that returns one of the above objects.

This example sets the height of the chart legend to 1 inch (72 points).

myChart.Legend.Height = 72
© 2015 Microsoft