Clear pdf document

The PDF Creator enables you to create secure PDF documents and to view, print and process existing PDF documents.
If you have any questions about the installation and usage of the PDF Creator please post them here.
Post Reply
abab
Posts: 2
Joined: Mon Aug 08 2005

Clear pdf document

Post by abab »

How can i "delete" the openend pdf document form the controll

To open i use

Code: Select all

PDF.Open "mydocument", ""
I tried deleting it form the controll with

Code: Select all

PDF.Open "", ""
but that didn't work. I can't find a property/method to make it work. It should be in the same status as when you first start your programm with the controll on it.

Thanks in advance.

Bram Crins
Developer @ ABAB
Jose
Amyuni Team
Posts: 553
Joined: Tue Oct 01 2002
Contact:

Post by Jose »

Hello,

I am not sure if this is what you are referring to but InitBlank clears the control.

PDF1.InitBlank

Hope this helps?
abab
Posts: 2
Joined: Mon Aug 08 2005

Post by abab »

PDF1.InitBlank
PDF1.Refresh()

Did the trick!!

Thank you!!
Post Reply