Frequently Asked Question:
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);