N/APosted on - 10/21/2014
I extraction with Microsoft Office Interope mounting characteristics PPTX and PPT files with C #. I was able to obtain information about the shapes, animations, but not in a position to extract details of the kinds of ppt or pptx balls contains or consists of balls of leaves, etc. Please help me find this. Thank you in advance.
How to extract list or bullet details from .pptx using c#
There are a few ways. In the code below, you can see the properties of the text that you can access in your program:
Method 1 : ppTextBox.TextFrame2.TextRange.ParagraphFormat.Bullet.Type=Office.MsoBulletType.msoBulletNumbered; Method 2 : ppTextBox.TextFrame2.TextRange.ParagraphFormat.Bullet.Type=Office.MsoNumberedBulletStyle.msoBulletAlphaLCParenBoth;
Method 3 : ppTextBox.TextFrame2.TextRange.ParagraphFormat.Bullet.StartValue=4;
Method 4 : ppTextBox.TextFrame2.TextRange.ParagraphFormat.Bullet.UseTextColor=Office.MsoTriState.msoTrue;
Method 5 : ppTextBox.TextFrame2.TextRange.ParagraphFormat.Bullet.UseTextFont=Office.MsoTriState.msoTrue; Where ppTextBox is a shape object, and note the use of TextFrame2 rather than TextFrame. You may cross-examine the ParagraphFormat.Bullet. Type against the specified list Office.MsoBulletType to see which has been applied.
That is exactly it.