[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.LineCapStyle

LineCapStyle Enum

Specifies the cap type for a line.

Use this enum with CapStyle to control how the end of a shape line is rendered, such as flat, square, or rounded.

Namespace: GrapeCity.Documents.Excel.Drawing
Assembly: DS.Documents.Excel.dll
Syntax
public enum LineCapStyle
Public Enum LineCapStyle
Examples
IShape shape = worksheet.Shapes.AddShape(AutoShapeType.Rectangle, 1, 1, 100, 60);
shape.Line.Weight = 6;
shape.Line.CapStyle = LineCapStyle.Round;

Fields

Name Description
Flat

Specifies that the end of the line is flat and does not extend beyond the endpoint.

Round

Specifies the end of the line is rounded.

Square

Specifies the end of the line is capped with a square shape.