共用方式為


Chart.HeightPercent Property (Excel)

Returns or sets the height of a 3-D chart as a percentage of the chart width (between 5 and 500 percent). Read/write Long.

Syntax

expression .HeightPercent

expression A variable that represents a Chart object.

Example

This example sets the height of Chart1 to 80 percent of its width. The example should be run on a 3-D chart.

Charts("Chart1").HeightPercent = 80

請參閱

概念

Chart Object

Chart Object Members