C
Christian Herlambang
Hello,
I've succesfully extracted text/speaker notes in PowerPoint into one
file(*.txt).Now I would like to extract each slide into different files
with [SlideNumber].txt as file name.
text in slide 1--> 1.txt
text in slide 2--> 2.txt
....
Extraction to a file in C# .NET
foreach(PowerPoint.Slide sld in oPPT.ActivePresentation.Slides)
foreach(PowerPoint.Shape shp in sld.Shapes)
if(Microsoft.Office.Core.MsoTriState.msoTrue == shp.HasTextFrame)
if(Microsoft.Office.Core.MsoTriState.msoTrue == shp.TextFrame.HasText)
Console.WriteLine(sh.TextFrame.TextRange.Text);
I know it should be not that difficult, but maybe someone could help me
with a quick solution.
Thanks in Advance.
Christian Herlambang
I've succesfully extracted text/speaker notes in PowerPoint into one
file(*.txt).Now I would like to extract each slide into different files
with [SlideNumber].txt as file name.
text in slide 1--> 1.txt
text in slide 2--> 2.txt
....
Extraction to a file in C# .NET
foreach(PowerPoint.Slide sld in oPPT.ActivePresentation.Slides)
foreach(PowerPoint.Shape shp in sld.Shapes)
if(Microsoft.Office.Core.MsoTriState.msoTrue == shp.HasTextFrame)
if(Microsoft.Office.Core.MsoTriState.msoTrue == shp.TextFrame.HasText)
Console.WriteLine(sh.TextFrame.TextRange.Text);
I know it should be not that difficult, but maybe someone could help me
with a quick solution.
Thanks in Advance.
Christian Herlambang