When importing a document with empty pages collection an ArgumentNullException: 'Value cannot be null.
Parameter name: page', is thrown, which leads to application crash.
Workaround: Import the document using the PdfProcessing library and add an empty page:
PdfFormatProvider pdfProcessingFormatProvider = new PdfFormatProvider();RadFixedDocument document = pdfProcessingFormatProvider.Import(stream); if (document.Pages.Count == 0){ document.Pages.AddPage();}
I want to draw the signature box, like in Adobe Acrobat Reader.
![]()
This is very important when the document needs more than 1 signature.