We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Close Icon
Unfortunately, activation email could not send to your email. Please try again.
Close Icon
Syncfusion Feedback

Extract or delete pages from a PDF Viewer Control or a PDF Document View

Thread ID:





116951 Jul 8,2014 08:41 PM UTC Jul 11,2014 10:44 AM UTC WinForms 1
Tags: PdfViewer
Vaughn Miller
Asked On July 8, 2014 08:41 PM UTC

I am trying to figure out how to make a custom toolbar that will let me grab pages from a PDF Viewer Control and put them into a PDFDocument, or delete pages from those controls.

'Extract current page
dim doc as PDFDocument
doc.ImportPage(PdfViewerControl1.[somehow get to pages], PdfViewerControl1.CurrentPageIndex)

'Delete current page

I realize that pages is not an object in either PDFViewerControl or PDFDocumentViewer. 

Uthistran S [Syncfusion]
Replied On July 11, 2014 10:44 AM UTC

Hi Andy,

Thank you for your update.

We do not have support for removing certain pages in PdfViewer control. But, we can achieve this by a workaround to remove particular page from  Pdf loaded document and can reload it to the viewer.

Attached the sample for your reference

Attachment: http://www.syncfusion.com/downloads/support/directtrac/general/CustomToolbar_-_RemovePage2140074995.zip

Please, run the sample and click “Custom toolbar” radio button. In the custom toolbar, you can type the page to remove and press enter, the particular page will get removed and the loaded document with remaining pages gets loaded in the PdfViewer control.

Please, let us know whether this work around suits your requirement.


Uthistran S.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon