source: trunk/client/inc/hpdf/_fpdf/doc/setcompression.htm@ 2

Last change on this file since 2 was 2, checked in by root, 15 years ago

importo il progetto

File size: 958 bytes
RevLine 
[2]1<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3<head>
4<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
5<title>SetCompression</title>
6<link type="text/css" rel="stylesheet" href="../fpdf.css">
7</head>
8<body>
9<h1>SetCompression</h1>
10<code>SetCompression(<b>boolean</b> compress)</code>
11<h2>Description</h2>
12Activates or deactivates page compression. When activated, the internal representation of
13each page is compressed, which leads to a compression ratio of about 2 for the resulting
14document.
15<br>
16Compression is on by default.
17<br>
18<br>
19<strong>Note:</strong> the Zlib extension is required for this feature. If not present, compression
20will be turned off.
21<h2>Parameters</h2>
22<dl class="param">
23<dt><code>compress</code></dt>
24<dd>
25Boolean indicating if compression must be enabled.
26</dd>
27</dl>
28<hr style="margin-top:1.5em">
29<div style="text-align:center"><a href="index.htm">Index</a></div>
30</body>
31</html>
Note: See TracBrowser for help on using the repository browser.