Height Property

Microsoft Graph Visual Basic

Height Property


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