Foxit Corporation Forums  

Go Back   Foxit Corporation Forums > Portable Document Format (PDF) Tools > SDK ( DLL or ActiveX)

SDK ( DLL or ActiveX) Integrate PDF functions into your application easily. The SDK shares the same technology that powers Foxit Reader.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old February 16th, 2007, 06:59 AM
rtrembleau rtrembleau is offline
Junior Member
 
Join Date: Feb 2007
Posts: 2
rtrembleau is an unknown quantity at this point
Talking Render Flags ?

Hi,

I'm working with the demo version of Foxit PDF Reader with Visual C++.
It works well but I wonder what are the possible flags for the RenderPage function ??

actually, my problem is that I try to render a PDF in a small window (only for previewing it 400X400). It works well but the fonts are too small and we can't read anything.
I tried to do the same thing with Acrobat Reader and it seems to be better (but slower ...)

Is there any flag or other thing to improve the rendering ?

Thanls
Reply With Quote
  #2  
Old February 16th, 2007, 08:39 AM
AmyLin AmyLin is offline
Moderator
 
Join Date: Feb 2007
Posts: 89
AmyLin is an unknown quantity at this point
Default

Here are some rendering flags with fpdfview.dll


// Page rendering flags. They can be combined with bit OR
#define FPDF_ANNOT 0x01 // Set if annotations are to be rendered
#define FPDF_LCD_TEXT 0x02 // Set if using text rendering optimized for LCD display
#define FPDF_NO_GDIPLUS 0x04 // Set if you don't want to use GDI+ (for fast rendering with poorer graphic quality)
// Applicable to desktop Windows systems only.
#define FPDF_DEBUG_INFO 0x80 // Set if you want to get some debug info.
// Please discuss with Foxit first if you need to collect debug info.
Reply With Quote
  #3  
Old February 19th, 2007, 12:26 AM
rtrembleau rtrembleau is offline
Junior Member
 
Join Date: Feb 2007
Posts: 2
rtrembleau is an unknown quantity at this point
Default Where did you find them ???

Where did you find those flags ????

Thanks.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 07:34 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2005-2008 Foxit Corporation. All rights reserved.