返回或设置边框的线型。XlLineStyle 类型,可读写。
| XlLineStyle 可为以下 XlLineStyle 常量之一。 | 
| xlContinuous | 
| xlDash | 
| xlDashDot | 
| xlDashDotDot | 
| xlDot | 
| xlDouble | 
| xlSlantDashDot | 
| xlLineStyleNone | 
expression.LineStyle
expression 必需。该表达式返回“应用于”列表中的对象之一。
本示例为 Chart1 的图表区和绘图区域设置边框。
With Charts("Chart1")
    .ChartArea.Border.LineStyle = xlDashDot
    With .PlotArea.Border
        .LineStyle = xlDashDotDot
        .Weight = xlThick
    End With
End With