Cleat document in PDF Creator Control .net

The PDF Creator .NET Library enables you to create secure PDF documents on the fly and to view, print and process existing PDF documents. If you have any questions about PDF Creator .Net, please post them here.
Post Reply
shanks5
Posts: 3
Joined: Tue Feb 24 2009

Cleat document in PDF Creator Control .net

Post by shanks5 » Wed May 27 2009

How do I clear the document loaded in PDF Control. I would like to remove the document and show a empty page. I tried PDFCreator.Document.InitBlack and component threw an exception

David
Amyuni Team
Posts: 89
Joined: Mon Dec 18 2006

Re: Cleat document in PDF Creator Control .net

Post by David » Thu May 28 2009

Hello

you need to call PDFCreator.Document.InitBlank and not PDFCreator.Document.InitBlack

Hope that helps.
David
Amyuni Custom Development
Do you need a specific PDF solution? Are you looking for expertise that will enable you to start or complete a PDF integration project?
http://www.amyuni.com/en/company/services.php

shanks5
Posts: 3
Joined: Tue Feb 24 2009

Re: Cleat document in PDF Creator Control .net

Post by shanks5 » Fri May 29 2009

That's just a typo. I used only InitBlank. Exception is thrown.

Also, I used your samples. After I open three or four pdf files on after the other, your control throws an exception "External component threw an exception"

Post Reply