Skip to content

Commit 771896f

Browse files
feedback_addressed
1 parent cf5d248 commit 771896f

File tree

5 files changed

+2
-3
lines changed

5 files changed

+2
-3
lines changed

Paragraphs/Apply-paragraph-formatting/.NET/Apply-paragraph-formatting/bin/Debug/net8.0/Output/.gitkeep

Lines changed: 0 additions & 1 deletion
This file was deleted.
Binary file not shown.

Paragraphs/Remove_all_page_breaks/.NET/Remove_all_page_breaks/Program.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using Syncfusion.DocIO;
22
using Syncfusion.DocIO.DLS;
33

4-
using (FileStream inputStream = new FileStream(@"Data/Template.docx", FileMode.Open, FileAccess.Read))
4+
using (FileStream inputStream = new FileStream(Path.GetFullPath(@"Data/Template.docx"), FileMode.Open, FileAccess.Read))
55
{
66
//Open the existing Word document.
77
using (WordDocument document = new WordDocument(inputStream, FormatType.Docx))
@@ -14,7 +14,7 @@
1414
(entity as Break).OwnerParagraph.ChildEntities.Remove(entity);
1515

1616
//Save the Word document
17-
using (FileStream outputStream = new FileStream(@"Output/Output.docx", FileMode.Create, FileAccess.Write))
17+
using (FileStream outputStream = new FileStream(Path.GetFullPath(@"Output/Output.docx"), FileMode.Create, FileAccess.Write))
1818
{
1919
document.Save(outputStream, FormatType.Docx);
2020
}

0 commit comments

Comments
 (0)