// The path to the documents directory. const String templatePath = u"../templates/Presentation1.pptx"; System::SharedPtr<Presentation> pres = System::MakeObject<Presentation>(templatePath); System::SharedPtr<IThreeDFormatEffectiveData> threeDEffectiveData = pres->get_Slides()->idx_get(0)->get_Shapes()->idx_get(0)->get_ThreeDFormat()->GetEffective(); System::Console::WriteLine(u"= Effective light rig properties ="); System::Console::WriteLine(System::String(u"Type: ") + System::ObjectExt::ToString((int)threeDEffectiveData->get_LightRig()->get_LightType())); System::Console::WriteLine(System::String(u"Direction: ") + System::ObjectExt::ToString((int)threeDEffectiveData->get_LightRig()->get_Direction()));