File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Document-Processing/PDF/PDF-Library/NET Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -5160,8 +5160,7 @@ using Syncfusion.Pdf.Parsing;
51605160using System.IO;
51615161
51625162//Open the source PDF that contains form fields.
5163- using FileStream fileStream = new FileStream(@"Form.pdf", FileMode.Open, FileAccess.Read);
5164- PdfLoadedDocument loadedDocument = new PdfLoadedDocument(fileStream);
5163+ PdfLoadedDocument loadedDocument = new PdfLoadedDocument("Form.pdf");
51655164
51665165//Flatten all form fields.
51675166PdfLoadedForm loadedForm = loadedDocument.Form;
@@ -5198,8 +5197,7 @@ Imports System.Drawing
51985197Imports System.IO
51995198
52005199'Open the source PDF that contains form fields.
5201- Using fileStream As New FileStream("Form.pdf", FileMode.Open, FileAccess.Read)
5202- Dim loadedDocument As New PdfLoadedDocument(fileStream)
5200+ Dim loadedDocument As New PdfLoadedDocument("Form.pdf")
52035201
52045202'Flatten all form fields.
52055203Dim loadedForm As PdfLoadedForm = loadedDocument.Form
You can’t perform that action at this time.
0 commit comments