You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Read-and-save-PowerPoint-presentation/Open-and-save-PowerPoint/Google-Drive/Open-PowerPoint-document/Open-PowerPoint-document/Program.cs
Copy file name to clipboardExpand all lines: Read-and-save-PowerPoint-presentation/Open-and-save-PowerPoint/Google-Drive/Save-PowerPoint-document/Save-PowerPoint-document/Program.cs
+25-28Lines changed: 25 additions & 28 deletions
Original file line number
Diff line number
Diff line change
@@ -11,99 +11,96 @@ internal class Program
11
11
{
12
12
staticvoidMain(string[]args)
13
13
{
14
-
//Create a new instance of PowerPoint Presentation file
14
+
//Create a new instance of PowerPoint Presentation file.
15
15
IPresentationpptxDocument=Presentation.Create();
16
16
17
-
//Add a new slide to file and apply background color
17
+
//Add a new slide to file and apply background color.
descriptionShape.TextBody.Text="IMN Solutions PVT LTD is the software company, established in 1987, by George Milton. The company has been listed as the trusted partner for many high-profile organizations since 1988 and got awards for quality products from reputed organizations.";
IParagraphfirstPara=bulletPointsShape.TextBody.AddParagraph("The company acquired the MCY corporation for 20 billion dollars and became the top revenue maker for the year 2015.");
37
-
38
-
//Format how the bullets should be displayed
36
+
//Format how the bullets should be displayed.
39
37
firstPara.ListFormat.Type=ListType.Bulleted;
40
38
firstPara.LeftIndent=35;
41
39
firstPara.FirstLineIndent=-35;
42
40
43
-
//Add another paragraph for the next bullet point
41
+
//Add another paragraph for the next bullet point.
44
42
IParagraphsecondPara=bulletPointsShape.TextBody.AddParagraph("The company is participating in top open source projects in automation industry.");
0 commit comments