Do you own a Debenu Quick PDF Library 12/11/10/9/8/7? Upgrade to Debenu Quick PDF Library 13!

Foxit Quick PDF Library

Frequently Asked Question:

Return to FAQ Index

Can I use Quick PDF as a viewer in my C++ application?

Question

Can I use Quick PDF as a viewer in my C++ application and be able to render PDF content to a Device Context?

Answer

Yes, it is possible to use Quick PDF Library in your C++ application to render PDF content to a device context. Here is some sample code in C++ that demonstrates how:

HWND m_hwnd = HWND(GDK_WINDOW_HWND(this->m_drawingArea.get_window()>gobj() ));
HDC m_hdc = GetDC(m_hwnd);   
QP.RenderPageToDC(100, 1,(int)(HDC) m_hdc);

© 2015 Debenu & Foxit. All rights reserved. AboutBuyContactBlogNewsletterSupportFAQProduct UpdatesForum