[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IFillFormat.PresetTexture

PresetTexture Property

PresetTexture

Returns the preset texture for the specified fill.

Declaration
PresetTexture PresetTexture { get; }
ReadOnly Property PresetTexture As PresetTexture
Examples
IShape shape = worksheet.Shapes.AddShape(AutoShapeType.Rectangle, 20, 20, 100, 60);
IFillFormat fillFormat = shape.Fill;
fillFormat.PresetTextured(PresetTexture.Canvas);
PresetTexture texture = fillFormat.PresetTexture;