PdfConverter.BindPdf stucks

Hello,

if we call BindPdf of PdfConverter class with the attached PDF the mnethod stuck and does not finish. No exception or anything eles will be thrown!

input.pdf (2,9 MB)

Simple try:
var pdfConverter = new PdfConverter();
pdfConverter.BindPdf(“input.pdf”);

Kind Regards,
Andy

@AStelzner,

Can you provide what version you are using? I am using 23.1.1.

I just ran this code without any problems, using the file you provided.

public void MainCode()
{
    PartialPath = $@"{prefixPath}\Conversions\ErrorLoadingPdfToConvert"; // Location of your input/output files

    LoadLicence(); // Load your License

    var doc = DocumentGet(); // Read your document

    Logic(doc);
}

private void Logic(Document doc)
{
    var pdfConverter = new PdfConverter();
    pdfConverter.BindPdf(doc);
}

Hi Carlos,

then try the BindPdf overload with the full file path oft he pdf, instead of a PdfDocument as parameter.

Kind Regards,
Andy

I was able to replicate the bug, I will create a ticket for this issue.

@AStelzner
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): PDFNET-53696

You can obtain Paid Support services if you need support on a priority basis, along with the direct access to our Paid Support management team.

1 Like