Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
321 views
in Technique[技术] by (71.8m points)

Some PDF documents not loading for editing using persits.pdf tool

I have a requirement to edit the fields in pdf document using persits.pdf tool. here is my code.

PdfManager objPDF = new PdfManager();
PdfDocument objDoc;
objDoc = objPDF.OpenDocument(cert.FileLocation + cert.CertificationFileName);

when the execution comes to opendocument() method it throws exception.

Source array was not long enough. Check srcIndex and length, and the array's lower bounds.

this exception is coming only for some documents. some are working fine.

Thanks in advance.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...