[]
Returns the ILineFormat object that contains line formatting properties for the specified shape.
Use the returned object to access and modify the shape's line appearance, such as weight, dash style, color, and transparency.
ILineFormat Line { get; }
ReadOnly Property Line As ILineFormat
IShape shape = worksheet.Shapes.AddShape(AutoShapeType.Rectangle, 20, 20, 120, 60);
ILineFormat line = shape.Line;
line.Weight = 2;
line.DashStyle = LineDashStyle.Dash;