Getting Object Reference Error while calling PDF to PDF/A C# code

I took Nuget package and when trying to access this code then getting object reference error. a Blank PDF file is getting created.
using (var converter = new Converter(@“D:/sample.pdf”))
{
var options = new PdfConvertOptions();
options.PdfOptions.PdfFormat = PdfFormats.PdfA_3A;
converter.Convert(@“D:/output.pdf”,options);
}

1 Like

@sssinghsaurabh

Please share following details and we’ll look into this scenario:

  • API version that you integrated (e.g. 22.6, 22.7)
  • Problematic/sample source file