Skip to content

Commit 4aacd22

Browse files
committed
Added changes
1 parent b778a69 commit 4aacd22

2 files changed

Lines changed: 3 additions & 49 deletions

File tree

Word-document/Copy-document-property/.NET/Copy-document-property/Program.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@
22
using Syncfusion.DocIO;
33

44
//Load an existing main Word document.
5-
using (WordDocument targetDocument = new WordDocument(Path.GetFullPath(@"../../Data/TargetDocument.docx"), FormatType.Docx))
5+
using (WordDocument targetDocument = new WordDocument(@"../../../Data/TargetDocument.docx", FormatType.Docx))
66
{
77
//Load an existing template Word document.
8-
using (WordDocument sourceDocument = new WordDocument(Path.GetFullPath(@"../../Data/SourceDocument.docx"), FormatType.Docx))
8+
using (WordDocument sourceDocument = new WordDocument(@"../../../Data/SourceDocument.docx", FormatType.Docx))
99
{
1010
//Move Built-in document properties from one Word document to another Word document.
1111
MoveBuiltinDocumentProperties(sourceDocument, targetDocument);
1212
//Move custom document properties from one Word document to another Word document.
1313
MoveCustomDocumentProperties(sourceDocument, targetDocument);
1414
//Save the Word document.
15-
targetDocument.Save(Path.GetFullPath(@"../../Result.docx"));
15+
targetDocument.Save(@"../../../Output/Result.docx");
1616
}
1717
}
1818

Word-document/Copy-document-property/.NET/Copy-document-property/README.md

Lines changed: 0 additions & 46 deletions
This file was deleted.

0 commit comments

Comments
 (0)