[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.ILineFormat.Patterned

Patterned Method

Patterned(PatternType)

Sets the specified line to a pattern color.

Use this method to apply a patterned fill to the line by specifying a PatternType.

Declaration
void Patterned(PatternType pattern)
Sub Patterned(pattern As PatternType)
Parameters
Type Name Description
PatternType pattern

The pattern type to apply to the line.

Examples
IShape connector = worksheet.Shapes.AddConnector(ConnectorType.Straight, 10, 10, 200, 100);
ILineFormat line = connector.Line;
line.Patterned(PatternType.Percent10);