Hello,
I'm currently testing the Telerik PDFProcessingLibrary and I wanted to try out the example as described in your documentation https://docs.telerik.com/devtools/document-processing/libraries/radpdfprocessing/getting-started
I have created a simple console application in .NET 6 in VS Professional 2022 version 17.3.6.
The code is the following:
using Telerik.Windows.Documents.Fixed.FormatProviders.Pdf;
using Telerik.Windows.Documents.Fixed.Model;
using Telerik.Windows.Documents.Fixed.Model.Editing;
RadFixedDocument document = new RadFixedDocument();
RadFixedPage page = document.Pages.AddPage();
FixedContentEditor editor = new FixedContentEditor(page);
editor.DrawText("Hello RadPdfProcessing!");
PdfFormatProvider provider = new PdfFormatProvider();
using (Stream output = File.OpenWrite("Hello.pdf"))
{
provider.Export(document, output);
}
If I add the references manually from the Telerik installation on my PC, I receive the following exception:
If I add them using NuGet, it's the following exception:
Do you have an idea from where it can come? Do you need further information in order to help out?
Thank you in advance and have a nice day!
Jana