Table of contents
Collapse the table of content
Expand the table of content

PlotArea.InsideHeight Property (PowerPoint)

office 365 dev account|Last Updated: 6/12/2017
1 Contributor

Returns or sets the inside height, in points, of the plot area. Read/write Double.


expression. InsideHeight

expression A variable that represents a PlotArea object.


The plot area used for this measurement does not include the axis labels. The Height property for the plot area uses the bounding rectangle that includes the axis labels.


Note Although the following code applies to Microsoft Word, you can readily modify it to apply to PowerPoint.

The following example draws a dotted rectangle around the inside of the plot area for the first chart in the active document.

With ActiveDocument.InlineShapes(1)
    If .HasChart Then
        With .Chart
            Set pa = .PlotArea
            With .Shapes.AddShape(msoShapeRectangle, _
                    pa.InsideLeft, pa.InsideTop, _
                    pa.InsideWidth, pa.InsideHeight)
                .Fill.Transparency = 1
                .Line.DashStyle = msoLineDashDot
            End With
        End With
    End If
End With

See also


PlotArea Object

© 2018 Microsoft