Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.

Mon Oct 17, 2011 12:48 pm

Hello,
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
Jakub

jmosna
 
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.

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

Tina.Lin
 
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

jmosna
 
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