取得代表圖表繪圖區域的 Office.IMsoPlotArea 物件。 唯讀 IMsoPlotArea。
語法
運算式。繪圖區域
expression 代表 Chart 物件的變數。
範例
下列範例會將出圖區域的內部高度設定為比先前設定的大 30 點。
Sub SetChartPlotAreaHeight()
Dim chartShape As Shape
Dim reportName As String
Dim insideHeight As Double
reportName = "Simple scalar chart"
Set chartShape = ActiveProject.Reports(reportName).Shapes(1)
insideHeight = chartShape.Chart.PlotArea.InsideHeight
chartShape.Chart.PlotArea.InsideHeight = insideHeight + 30
End Sub
屬性值
IMSOPLOTAREA
另請參閱
支援和意見反應
有關於 Office VBA 或這份文件的問題或意見反應嗎? 如需取得支援服務並提供意見反應的相關指導,請參閱 Office VBA 支援與意見反應。