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.Shapes as IAutoShape; var textFrame = autoShape.TextFrame; var paragraph = textFrame.Paragraphs; var portion = paragraph.Portions; 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)