[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IShape.Decorative

Decorative Property

Decorative

Gets or sets the decorative flag for the specified shape object.

Setting this property to true marks the shape as decorative and clears the shape's AlternativeText and Title.

Declaration
bool Decorative { get; set; }
Property Decorative As Boolean
Examples
IShape shape = worksheet.Shapes.AddShape(AutoShapeType.RoundedRectangle, 20, 20, 160, 80);
shape.AlternativeText = "Company logo";
shape.Title = "SalesBox";
shape.Decorative = true;
bool decorative = shape.Decorative;
string alternativeText = shape.AlternativeText;
string title = shape.Title;