Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1   9.2    Statistic  


Sets the current compression level.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
DynaPDF 4.0 Yes Yes Yes Yes Yes
MBS( "DynaPDF.SetCompressionLevel"; PDF; CompressLevel )   More


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


Returns OK or error.


Sets the current compression level.
If the compression level is clNone, 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 18th August 2014

DynaPDF.SetCompressionFilter   -   DynaPDF.SetContent

Feedback: Report problem or ask question.

MBS Xojo PDF Plugins