Print Page | Close Window

DACapturePage and DrawCapturedPage

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=3274
Printed Date: 16 Mar 26 at 10:26AM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: DACapturePage and DrawCapturedPage
Posted By: martin.weigl
Subject: DACapturePage and DrawCapturedPage
Date Posted: 23 Feb 16 at 10:07AM
Hey guys,
 
i need to embed a PDF page of an external PDF document into my current document.
I tried the following steps:
  • open "the other" document calling .DAOpenFileReadOnly(...) which returned a valid handle (!= 0)
  • "find" the first (and only) page (.DAFindPage(...)) within the other document which returned a valid handle
  • capture the page of the other document calling .DACapturePage(...) which returned a valid handle
  • draw the captured page into my current PDF calling DrawCaptuteredPage(...) which returned 0 as a result.
 
I somehow have the feeling that ."DrawCapturedPage(...)" can't be used for a page captured with ".DACapturePage(...)" from another document, right?
 
I try this in order to "embed" a vector graphics file (.eps, can't be embedded/rendered directly, i know) which has been  exported as a single paged PDF before. Converting the *.eps into a *.emf file is no way because the *.eps contains/uses embedded separation colors which get lost when being converted into a *.emf file.
Does somebody know any other way to do this?
 



Replies:
Posted By: Ingo
Date Posted: 23 Feb 16 at 10:22PM
Hi Martin,

you can't mix DA- and non-DA-functions.
So DACapturePage won't work together with DrawCapturedPage.
DADrawCapturedPage should work for you.

Cheers, Ingo


-------------
Cheers,
Ingo




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