Skip to content

Commit 3e942e4

Browse files
committed
985481-1: Completed both md files.
1 parent d2c0a89 commit 3e942e4

File tree

2 files changed

+161
-8
lines changed

2 files changed

+161
-8
lines changed

Document-Processing/PDF/PDF-Library/NET/Merge-Documents.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -159,9 +159,7 @@ Essential<sup>&reg;</sup> PDF provides support for importing the pages from one
159159
using Syncfusion.Pdf;
160160

161161
//Load the PDF document.
162-
FileStream docStream = new FileStream("file1.pdf", FileMode.Open, FileAccess.Read);
163-
//Load the PDF document.
164-
PdfLoadedDocument lDoc = new PdfLoadedDocument(docStream);
162+
PdfLoadedDocument lDoc = new PdfLoadedDocument("Input.pdf");
165163
//Create a new document.
166164
PdfDocument document = new PdfDocument();
167165
//Imports the page at 1 from the lDoc.
@@ -226,9 +224,7 @@ You can import multiple pages from an existing document by using [ImportPageRang
226224
using Syncfusion.Pdf;
227225

228226
//Load the PDF document.
229-
FileStream docStream = new FileStream("file1.pdf", FileMode.Open, FileAccess.Read);
230-
//Load the PDF document.
231-
PdfLoadedDocument lDoc = new PdfLoadedDocument(docStream);
227+
PdfLoadedDocument lDoc = new PdfLoadedDocument("Input.pdf");
232228
//Create a new document.
233229
PdfDocument document = new PdfDocument();
234230
//Imports the page at 1 from the lDoc.

0 commit comments

Comments
 (0)