Print Page | Close Window

CapturePage

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=3131
Printed Date: 07 Feb 26 at 8:18PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: CapturePage
Posted By: CrazyTIm
Subject: CapturePage
Date Posted: 10 Jun 15 at 6:54AM
Hi, 

It doesn't look like CapturePage() captures the annotations and markups that have been added to the pfd?

Is there a way to flatten the pdf prior to calling CapturePage() so I can include annotations?

I can provide a sample pdf if required.

code:

 ' capture (cut) current page
CaptureID = Q.CapturePage(1)

' insert new A4 page and set its dimensions
Q.InsertPages(Q.PageCount + 1, 1)
Q.SelectPage(Q.PageCount)
Q.SetPageDimensions(NewPageWidth, NewPageHeight)

' paste capture on new page
Q.DrawCapturedPage(CaptureID, 0, 0, Q.PageWidth(), Q.PageHeight())


Regards, Jason



Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk