Collect

Collect class

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

class Collect

Methods

MethodDescription
Collect()
static System::SharedPtr<System::Collections::Generic::IEnumerable<System::SharedPtr<Shape>>> Shapes(System::SharedPtr<Presentation>)Collects all instances of Shape in the Presentation.

Remarks

auto pres = System::MakeObject<Presentation>(u"pres.pptx");

for (auto& shape : Collect::Shapes(pres))
{
    // ... change shape formatting or other properties
}

See Also