Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 11.0   11.1   11.2   11.3   11.4   11.5   12.0   12.1   12.2   12.3    Statistic    FMM    Blog  

DynaPDF.SetCompressionLevel

Sets the current compression level.

Component Version macOS Windows Linux Server iOS SDK License
DynaPDF 4.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes Paid
MBS( "DynaPDF.SetCompressionLevel"; PDF; CompressLevel )   More

Parameters

Parameter Description Example
PDF The PDF reference returned from DynaPDF.New. $pdf
CompressLevel The new compression level. Can be none, default, fastest or max. "none"

Result

Returns OK or error.

Description

Sets the current compression level.
If the compression level is None, content streams will be left uncompressed. This value is useful if a content stream must be debugged, the value will be ignored for image streams. The compression level is also used by certain image compression filters, see DynaPDF.InsertImage for further information.
See also DynaPDF.GetCompressionLevel.

See also SetCompressionLevel function in DynaPDF manual.

See also

Example Databases

Blog Entries

Created 18th August 2014, last changed 30th November 2019


DynaPDF.SetCompressionFilter - DynaPDF.SetContent

Feedback: Report problem or ask question.


Start Chat