[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IShape.Line

Line Property

Line

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.

Declaration
ILineFormat Line { get; }
ReadOnly Property Line As ILineFormat
Examples
IShape shape = worksheet.Shapes.AddShape(AutoShapeType.Rectangle, 20, 20, 120, 60);
ILineFormat line = shape.Line;
line.Weight = 2;
line.DashStyle = LineDashStyle.Dash;