DELPHI AREA
MESSAGE BOARD
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   FavoritesFavorites   Watched TopicsWatched Topics     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

TprintPreviwe and PDF

 
Post new topic   Reply to topic   printer-friendly view    DELPHI AREA Forum Index -> DELPHI AREA's Products
View previous topic :: View next topic  
Author Message
St
Member


Joined: 08 Sep 2005
Posts: 6
Location: Brno, Czech Republic

PostPosted: 13/09/06 11:48    Post subject: TprintPreviwe and PDF Reply with quote

Hello

is there any possibility to view a PDF file with PrintPreview component? And if not, are there any plans to implement it in the next release.

St
Back to top
View user's profile Send private message
Johnny_Bit
Moderator


Joined: 15 Jun 2003
Posts: 274

PostPosted: 13/09/06 12:12    Post subject: Reply with quote

No, It's at the time impossible straight out of the box. However you can get for free pdf rendering library and render pdf on pages of print preview.

As for adding such feature, I don't deveop it, but I'd opt for rather not doing it. I simplysee no sense in that.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
kokkoras
Senior Member


Joined: 12 Mar 2005
Posts: 250
Location: Thessaloniki, Greece

PostPosted: 14/09/06 00:26    Post subject: Re: TprintPreviwe and PDF Reply with quote

St wrote:
Hello, is there any possibility to view a PDF file with PrintPreview component? And if not, are there any plans to implement it in the next release. St


An easy way to view PDFs within your app is to include the Acrobat activeX in delphi and then use the generated component to display the PDF. Of course, this requires that Acrobat is installed in the system. since Acrobat is free and everybody has it installed I can see no reason why you want to include such a functionality in your app (apart from integration).

Othen solution is to use one of the many components capable of displaying PDFs. The drawback is that most of them are not free.

_________________
Fotis
Back to top
View user's profile Send private message Visit poster's website
St
Member


Joined: 08 Sep 2005
Posts: 6
Location: Brno, Czech Republic

PostPosted: 15/09/06 08:47    Post subject: Reply with quote

Thank you for your answers.

I know about the possibility of using activeX component. But the reason for my question was as follows.
In my application I’m already using PrintPreview component. It is really great. I’m using it for viewing and printing some generated reports and couple of RTF files. And now I need to view also PDF files. Off course I can use activeX component, but it would be nice to have the same user interface for viewing all reports and RTF and PDF files.
Back to top
View user's profile Send private message
Johnny_Bit
Moderator


Joined: 15 Jun 2003
Posts: 274

PostPosted: 15/09/06 12:20    Post subject: Reply with quote

so do as I said, render pdf pages on print-preview pages. there are libs for that... GNU'ed I think.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    DELPHI AREA Forum Index -> DELPHI AREA's Products All times are GMT
Page 1 of 1

Add to favorites

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group