| <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
| <title>SetCompression</title>
|
| <link type="text/css" rel="stylesheet" href="../fpdf.css">
|
| <code>SetCompression(<b>boolean</b> compress)</code>
|
| Activates or deactivates page compression. When activated, the internal representation of
|
| each page is compressed, which leads to a compression ratio of about 2 for the resulting
|
| Compression is on by default.
|
| <strong>Note:</strong> the Zlib extension is required for this feature. If not present, compression
|
| <dt><code>compress</code></dt>
|
| Boolean indicating if compression must be enabled.
|
| <hr style="margin-top:1.5em">
|
| <div style="text-align:center"><a href="index.htm">Index</a></div>
|