[]
Returns the IColorFormat object that represents the specified pattern color.
Use this property to read or modify the foreground color used by a pattern fill. To apply a pattern fill first, use Patterned(PatternType).
IColorFormat PatternColor { get; }
ReadOnly Property PatternColor As IColorFormat
IShape shape = worksheet.Shapes.AddShape(AutoShapeType.Rectangle, 20, 20, 100, 60);
IFillFormat fillFormat = shape.Fill;
fillFormat.Patterned(PatternType.LightDownwardDiagonal);
IColorFormat patternColor = fillFormat.PatternColor;
patternColor.RGB = Color.Blue;