Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   8.0   8.1    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 )


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

DynaPDF.SetCompressionFilter   -   DynaPDF.SetContent

Feedback: Report problem or ask question.

MBS FileMaker blog