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 May 7th, 2008, 04:33 PM
myename myename is offline
Junior Member
 
Join Date: Dec 2007
Posts: 4
myename is an unknown quantity at this point
Default How to print Landscape using DLL

Hi,
I'm using FoxIt dll with C# for displaying and printing pdf files.
In my document some pages are Portrait and some are Landscape; during print portrait pages are ok but how can I print a landscape page?
Do I need to Rotate or is there any other way to print it landscape?

Thanks
myename
Reply With Quote
  #2  
Old May 8th, 2008, 12:52 AM
jinming_wang jinming_wang is offline
Junior Member
 
Join Date: Sep 2007
Posts: 40
jinming_wang is an unknown quantity at this point
Default

Could you send us the pdf file which cause the problem? we may need it to recreate the problem.For more help, please contact sdk-list@foxitsoftware.com.
Reply With Quote
  #3  
Old May 8th, 2008, 05:31 AM
myename myename is offline
Junior Member
 
Join Date: Dec 2007
Posts: 4
myename is an unknown quantity at this point
Default Here is the test pdf file

I am using FPDF_RenderPage function to render the page.
My first page is Portrait and it prints fine; but when I try printing the 2nd page which is Landscape I got the problem. How do I prepare it to render as Landscape?

Thanks
Attached Files
File Type: pdf Portrait_Landscape.pdf (12.0 KB, 1 views)
Reply With Quote
  #4  
Old May 9th, 2008, 11:42 AM
myename myename is offline
Junior Member
 
Join Date: Dec 2007
Posts: 4
myename is an unknown quantity at this point
Default

Hi Guys,
Thanks; I've found how to fix that....

It was my bug....
I had to change the PageSettings.Landscape value in "PrintDocument.QueryPageSettings" event.

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 04:00 AM.


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