Deleting a page

Skip Navigation LinksHome  /  Support  /  Forums  /  DynamicPDF Generator for COM/ActiveX (v3)  /  Deleting a page

DynamicPDF Generator for COM/ActiveX (v3) Forum

 Jul 25 2009 4:03 AM
Hi,

Is it possible to delete a page (and its elements) altogether using the returned page object (page object returned while adding the page).

Do we have any other ways to clear atleast the contents of the page.
Need an urgent reply.

Thanks.
 Jul 27 2009 4:52 AM
Posted by a ceTe Software moderator
Hello,

It is not possible to delete the elements present in the page using the page object. If you do not want the page elements to appear then you can add a rectangle with white fill color so that the elements behind the rectangle will not be visible.

If you do not want a page from a PDF document then you will have to merge the document by leaving the page which you do not want in the final PDF. You can do this by using the Append method which takes the start page number and number of pages to merge.

Thanks,
ceTe Software Support Team.

All times are US Eastern Standard time. The time now is 2:37 AM.