[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IFillFormat.Pattern

Pattern Property

Pattern

Returns the fill pattern.

Use this method to retrieve the PatternType applied to the shape's fill after the fill has been configured as a pattern fill.

Declaration
PatternType Pattern { get; }
ReadOnly Property Pattern As PatternType
Examples
IShape shape = worksheet.Shapes.AddShape(AutoShapeType.Rectangle, 20, 20, 100, 60);
IFillFormat fillFormat = shape.Fill;
fillFormat.Patterned(PatternType.Percent10);
PatternType pattern = fillFormat.Pattern;