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!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - Viewing PDF files in the screen
  FAQ FAQ  Forum Search   Register Register  Login Login

Viewing PDF files in the screen

 Post Reply Post Reply
Author
Message
capora56 View Drop Down
Beginner
Beginner
Avatar

Joined: 25 Jan 12
Location: Argentina
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote capora56 Quote  Post ReplyReply Direct Link To This Post Topic: Viewing PDF files in the screen
    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
Back to Top
AndrewC View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 08 Dec 10
Location: Geelong, Aust
Status: Offline
Points: 841
Post Options Post Options   Thanks (0) Thanks(0)   Quote AndrewC Quote  Post ReplyReply Direct Link To This Post Posted: 26 Jan 12 at 8:12AM

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;
            }
        }
  
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store