Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!
![]() |
Viewing PDF files in the screen |
Post Reply ![]() |
Author | |
capora56 ![]() Beginner ![]() ![]() Joined: 25 Jan 12 Location: Argentina Status: Offline Points: 1 |
![]() ![]() ![]() ![]() ![]() Posted: 25 Jan 12 at 11:55AM |
Hi
Some years ago I studied the QuickPDFDLL0718.dll for processing pdf file and in this moment the printing of this files generated with a scanner was not supported because of the graphics formats inside the PDF. I think that this problem is resolved with the actual version. On the other hand, today I need to know if I can open and view in the screen a pdf file genearated with a scanner. I'm working with Clarion 6.3 EE. My application needs to open for consulting pdf files rather than print them. If it's possible, which are the neccesary funcions to use for doing this. Thanks Ruben Caporossi
|
|
![]() |
|
AndrewC ![]() Moderator Group ![]() ![]() Joined: 08 Dec 10 Location: Geelong, Aust Status: Offline Points: 841 |
![]() ![]() ![]() ![]() ![]() |
Here is some C# code that renders an image to a Bitmap and then that bitmap is assigned to a pictureBox control on screen. There are various RenderPageTo.. type functions and different output formats. Andrew. private void RenderPageToDC_Click(object sender, EventArgs e) { Bitmap b = new Bitmap((int)pictureBox1.Width, (int)pictureBox1.Height); using (Graphics g = Graphics.FromImage(b)) { IntPtr dc = g.GetHdc(); QP.RenderPageToDC(72, page, dc); g.ReleaseHdc(dc); pictureBox1.Image = b; } } |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store