Collect

Collect class

Represents a group of methods intended to collect model objects of different types from Presentation.

public static class Collect

Methods

NameDescription
static Shapes(Presentation)Collects all instances of Shape in the Presentation.

Examples

using (Presentation pres = new Presentation("pres.pptx"))
{
    foreach (Shape shape in Collect.Shapes(pres))
    {
        // ... change shape formatting or other properties
    }
}    

See Also