File tree Expand file tree Collapse file tree 2 files changed +161
-8
lines changed
Document-Processing/PDF/PDF-Library/NET Expand file tree Collapse file tree 2 files changed +161
-8
lines changed Original file line number Diff line number Diff line change @@ -159,9 +159,7 @@ Essential<sup>®</sup> PDF provides support for importing the pages from one
159159using 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.
166164PdfDocument 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
226224using 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.
233229PdfDocument document = new PdfDocument();
234230//Imports the page at 1 from the lDoc.
You can’t perform that action at this time.
0 commit comments