IsDecorative

IShape.IsDecorative property

Gets or sets ‘Mark as decorative’ option Reed/write Boolean.

public bool IsDecorative { get; set; }

Examples

using (Presentation pres = new Presentation("sample.pptx"))
{
    pres.Slides[0].Shapes[0].IsDecorative = true;
}

See Also