[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.ILineFormat.PatternColor

PatternColor Property

PatternColor

Returns the IColorFormat object that represents the specified color of patterns.

Use this property to access and modify the color applied to a patterned line, typically after calling Patterned(PatternType) to set the line to a pattern fill.

Declaration
IColorFormat PatternColor { get; }
ReadOnly Property PatternColor As IColorFormat
Examples
IShape connector = worksheet.Shapes.AddConnector(ConnectorType.Straight, 10, 10, 200, 100);
ILineFormat line = connector.Line;
line.Patterned(PatternType.Percent10);
IColorFormat patternColor = line.PatternColor;
patternColor.RGB = Color.Red;