Skip to content

Commit f0a8d95

Browse files
committed
Modified XML comments
1 parent 837ad67 commit f0a8d95

File tree

1 file changed

+4
-2
lines changed
  • Word-to-PPTX-Conversion/Convert-Word-document-to-PPTX/.NET/Convert-Word-document-to-PPTX

1 file changed

+4
-2
lines changed

Word-to-PPTX-Conversion/Convert-Word-document-to-PPTX/.NET/Convert-Word-document-to-PPTX/Program.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,15 @@ class Program
99
private static IPresentation pptxDoc;
1010
static void Main(string[] args)
1111
{
12-
//Opens an existing document from file system through constructor of WordDocument class
12+
//Loads an existing Word document.
1313
using (WordDocument document = new WordDocument(Path.GetFullPath("../../../Data/Adventure.docx"), Syncfusion.DocIO.FormatType.Automatic))
1414
{
15+
// Create a new PowerPoint presentation.
1516
pptxDoc = Presentation.Create();
17+
// Iterate each section in the Word document and process its body.
1618
foreach (WSection section in document.Sections)
1719
{
18-
//Accesses the Body of section where all the contents in document are apart
20+
// Access the section body that contains paragraphs, tables, and content controls.
1921
WTextBody sectionBody = section.Body;
2022
AddTextBodyItems(sectionBody);
2123
}

0 commit comments

Comments
 (0)