I wrote the following code
String^ strTemplate;
String^ strPic;
strTemplate =
"D:\\Presentation\\Presentation.ppt";
bool bAssistantOn;
Microsoft:
ffice::Interop:
owerPoint::Application^ App;
Microsoft:
ffice::Interop:
owerPoint:
resentations^ presentations;
Microsoft:
ffice::Interop:
owerPoint::_Presentation^ presentation;
Microsoft:
ffice::Interop:
owerPoint:
lides^ slides;
Microsoft:
ffice::Interop:
owerPoint::_Slide^ slide;
Microsoft:
ffice::Interop:
owerPoint:
lideRange^ sliderange;
Microsoft:
ffice::Interop::Graph::Chart^ chart;
App =
gcnew Microsoft:
ffice::Interop:
owerPoint::Application();
App->Visible = Microsoft:
ffice::Core::MsoTriState::msoTrue;
presentations = App->Presentations;
presentation = presentations->Open(strTemplate, Microsoft:
ffice::Core::MsoTriState::msoFalse,Microsoft:
ffice::Core::MsoTriState::msoTrue,Microsoft:
ffice::Core::MsoTriState::msoTrue);
slides = presentation->Slides;
int
slideRange = presentation->Slides->Count;
Through this code i am able to open a desired presentation but now i am stuck with the problem of how to convert the individual slides into image format through my code, can anyone help me with that?