Print Page | Close Window

Can’t get DaRenderPageToSting to work ?

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=525
Printed Date: 19 May 24 at 11:45AM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Can’t get DaRenderPageToSting to work ?
Posted By: John Sigoloff
Subject: Can’t get DaRenderPageToSting to work ?
Date Posted: 01 Oct 06 at 2:51PM
Newbe question but I can't get the simplest code to work with DaRenderPageToString:

fHandle : LongInt;
S : Strint;
QP : TiSEDQuickPDF

      fHandle := QP.DaOpenfile('good.pdf','');
      if fHandle <> 0 then
        begin
          S := QP.DaRenderPageToString(fHandle,1,0,72);
          Showmessage(S); // Returns "" everytime ????
        end;

      
Any Help would be much appreciated.

John



Replies:
Posted By: JanN
Date Posted: 01 Oct 06 at 6:00PM
You cannot directly pass the page number. You need to use DAFindPage first.



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