(PECL haru:0.0.1)
HaruDoc::setCompressionMode — Set compression mode for the document
Defines compression mode for the document. In case when libharu was compiled without Zlib support this function will always throw HaruException.
The compression mode to use. The value is a combination of the following flags:
Returns TRUE on success.
Throws HaruException on error.