PDF development for NET Core platform is now possible. Starting with XFINIUM.PDF 6.3 support for .NET Core is included in Cross Platform Packages. All XFINIUM.PDF functionality, both in Standard and Professional editions, is now available for .NET Core platform.
Evaluation XFINIUM.PDF packages are now listed on nuget.org.
To install XFINIUM.PDF Standard for .NET Core, run the following command in the Package Manager Console:
PM > Install-Package Xfinium.Pdf.NetCore
To install XFINIUM.PDF Professional for .NET Core, run the following command in the Package Manager Console:
PM > Install-Package Xfinium.Pdf.Render.NetCore
Hey folks,
Was just giving this a gander reading pdfs in works all well but saving outputs an invalid pdf.
var saveFile = File.Open("C:\test\book13.pdf", FileMode.Create);
var doc = new PdfFixedDocument();
doc.Pages.Add();
doc.Save();
I am doing research on different libraries for my company and would like to know if im doing something wrong or if its broke 😀
There was a problem in v6.3.1.0 but it has been fixed.
Please make sure your application uses the latest version 6.3.1.4, the package is available on nuget.org.
Odd I already am using “Xfinium.Pdf.NetCore”: “6.3.1.4” 🙁
Can you send us (support@xfiniumpdf.com) the PDF file so we can take a look at it?
If you have a look at the code im making a brand new pdf adding a blank page and save it. Nothing to send 😀
Please try this code:
var saveFile = File.Open("C:\test\book13.pdf", FileMode.Create);
var doc = new PdfFixedDocument();
doc.Pages.Add();
doc.Save(saveFile);
saveFile.Flush();
saveFile.Dispose();
If this still does not work for you please send us the PDF file that is created by your code.
That works thanks 😀
Hi,
I am trying to read a Adobe Lifecycle designer PDF form fields using the Xfinium library with the below code.
Stream formStream = await GetStorageFileStream("C:\test\book13.pdf");
PdfFixedDocument document = new PdfFixedDocument(formStream);
document.Form.Fields["test"] as PdfTextBoxField).Text = objVal.Value;
I am unable to read the form fields.
Please let me know how do we read the form fields.
Thanks in Advance.
Suport for XFA forms (LiveCycle Designer forms) is planed for 2017.