[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.ILineFormat.InsetPen

InsetPen Property

InsetPen

Gets or sets whether lines are drawn inside the specified shape's boundaries.

This property indicates whether the line is rendered within the shape outline instead of being centered on the shape boundary.

Declaration
bool InsetPen { get; set; }
Property InsetPen As Boolean
Examples
IShape connector = worksheet.Shapes.AddConnector(ConnectorType.Straight, 10, 10, 200, 100);
ILineFormat line = connector.Line;
line.InsetPen = true;
bool insetPen = line.InsetPen;