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

ChartBorder.Weight Property (PowerPoint)

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

Returns or sets the weight of the border. Read/write XlBorderWeight.

Syntax

expression. Weight

expression A variable that represents a ChartBorder object.

Example

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

The following example sets the border weight for the value axis of the first chart in the active document to medium.

With ActiveDocument.InlineShapes(1)

    If .HasChart Then

        .Chart.Axes(xlValue).Border.Weight = xlMedium

    End If

End With

See also

Concepts

ChartBorder Object

© 2018 Microsoft