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

zlib option in print preview

 
   Reply to topic       DELPHI AREA Forum Index -> DELPHI AREA's Products
View previous topic :: View next topic  
Author Message
lbc
Member


Joined: 04 Feb 2004
Posts: 15
Location: Italy

PostPosted: 07/10/04 09:48    Post subject: zlib option in print preview Reply with quote

Hello
about the zlib support, the documentation tells (see below) that for D5 and lower there is a zlib version available. Anyway I have D7, how to add exactly the zlib support? In case, would it be enough to cut the "dot" at the beginning of the directive

{.$define ZLIB}

getting:

{$define ZLIB}

?

thanks again for any tip/info about the above

---
ZLIB COMPRESSION

To save preview pages to a file (or stream) as compressed format:

* If you are using Delphi 5 or lower, get the freeware ZLib library for your version of Delphi at http://www.gzip.org/zlib.
* Open the Preview.pas file and define the ZLIB compiler directive in the begining of the file.

When the ZLib compression is active, the component can load both compressed and non-compressed files.
---
Back to top
View user's profile
Kambiz
Administrator


Joined: 07 Mar 2003
Posts: 513
Location: Tehran, Iran

PostPosted: 07/10/04 11:29    Post subject: Reply with quote

Yes, for D7 you only need to remove the "dot".
Back to top
View user's profile Send e-mail Visit poster's website
Display posts from previous:   
   Reply to topic       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