Propiedad Chart.PlotArea (Project)

Obtiene un objeto Office.IMsoPlotArea que representa el área de trazado de un gráfico. IMsoPlotArea de solo lectura.

Sintaxis

más sencilla.Área de parcela

expresión Una variable que representa un objeto Chart.

Ejemplo

El ejemplo siguiente establece la altura interior del área de trazado 30 puntos mayor que la establecida anteriormente.

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

Valor de propiedad

IMSOPLOTAREA

Vea también

Objeto Chart

Soporte técnico y comentarios

¿Tiene preguntas o comentarios sobre VBA para Office o esta documentación? Vea Soporte técnico y comentarios sobre VBA para Office para obtener ayuda sobre las formas en las que puede recibir soporte técnico y enviar comentarios.