Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies within .NET ( C#, VB.NET, ASP.NET, .NET Core) application and Java (J2SE and J2EE) application.

Mon Oct 17, 2011 12:48 pm

I need to sign the existing PDF document.
In Help is written about class PdfDocumentBase this: "Represent common properties of PdfNewDocument and PdfLoadedDocument classes."
But Class PdfLoadedDocument doesn't exist in any assembly.

thanks for reply

Posts: 3
Joined: Wed Oct 05, 2011 1:04 pm

Tue Oct 18, 2011 6:39 am

Hello Jakub,

Sorry for any inconveniences caused by us and thank you for your patience.
If you want to load an existing pdf document, you only need to do like this:
PdfDocument doc = new PdfDocument(filename);
If you still have any questions, please don’t hesitate to contact us at any time for anything.
Have a nice day.

Technical Support/Developer,
e-iceblue Support Team
User avatar

Posts: 152
Joined: Tue Sep 13, 2011 5:37 am

Tue Oct 18, 2011 8:35 am

Hello BR,
probably is here some misunderstanding.

I know how to open the existing PDF file.
I don't know how to sign the existing PDF.

Constructor of Class PdfSignature expects PdfBaseDocument (and also its descendants).
Problem is that class PdfDocument is not descendant of PdfBaseDocument.
Opposite this, class PdfNewDocument is descendant of PdfBaseDocument and therefore example of signing works OK.

I hope that it is the better explanation of my problem with signing.
Maybe is there some other resolve.

Thanks for reply

Posts: 3
Joined: Wed Oct 05, 2011 1:04 pm

Sat Oct 22, 2011 6:24 am

Hi Jmosna,

So sorry for the late response! Our technical support will offer you a solution to solve this problem ASAP(early of the next week). Please feel free to contact us for anything at any time. Have a great day!
e-iceblue support
User avatar

iceblue support
Posts: 240
Joined: Tue Dec 21, 2010 2:56 am

Return to Spire.PDF