Weight Property

Microsoft Graph Visual Basic

XlBorderWeight can be one of these XlBorderWeight constants.
xlHairline
xlThin

xlMedium

xlThick

expression.Weight

expression    Required. An expression that returns one of the objects in the Applies To list.

Example

This example sets the border weight for the chart area.

myChart.ChartArea.Border.Weight = xlMedium