Hi,
I am trying to extract text from paragraph. The ppt file contains three lines inside a shape. When i use aspose to get the text, i get a single portion with break statements inbetween. But, i am expecting three portions, each for a line in the pptx file.
var autoShape = pres.Slides[0].Shapes[0] as IAutoShape;
var textFrame = autoShape.TextFrame;
var paragraph = textFrame.Paragraphs[0];
var portion = paragraph.Portions[0];
Console.log("Portion count"+paragraph.Portions.Count); //expecting 3 but got 1
Please find the attached sample pptx file.
portion_issue.zip (47.1 KB)