Print Page | Close Window

Problem with renderdocumenttofile

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


Topic: Problem with renderdocumenttofile
Posted By: alungwyther
Subject: Problem with renderdocumenttofile
Date Posted: 23 Oct 06 at 3:01AM

Hi

I am having problems with renderdocumentto file, all I get is a blank bmp.

I have read the other posts in the forum but nothing seems to help.

code used as follows

Result = .LoadFromFile("C:\cwr0642.pdf")

ID = .DocumentID(1)

Result = .SelectDocument(ID)

Result = .SelectPage(1)

Result = .RenderDocumentToFile(72, 1, 1, 0, "C:\test.bmp")

If anyone can help it will be most appreciated.

Best Regards

Alun Gwyther



-------------
Best Regards
Alun Gwyther



Replies:
Posted By: Ingo
Date Posted: 23 Oct 06 at 4:14AM
Hi Alun!

The library is already unlocked?
I don't see it in the code ...
...Or do you need a trial key? ...No problem if "yes" ;-)

Best regards,
Ingo


Posted By: alungwyther
Date Posted: 24 Oct 06 at 2:29AM

Hi Ingo

Thanks for replying.

I have a licenced copy but did not include that line of code.

Best Regards

Alun Gwyther



-------------
Best Regards
Alun Gwyther


Posted By: alungwyther
Date Posted: 24 Oct 06 at 7:28AM

Hi everyone

I do not know what happened yesterday  but today exactly the same code works fine.

Best Regards

Alun Gwyther



-------------
Best Regards
Alun Gwyther



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