| Components | All | New | MacOS | Windows | Linux | iOS | ||||
| Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old | |
DynaPDF.SetCompressionLevel
Sets the current compression level.
| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
| DynaPDF | 4.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "DynaPDF.SetCompressionLevel"; PDF; CompressLevel ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| The PDF reference returned from DynaPDF.New. | ||
| 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
- DynaPDF.GetCompressionFilter
- DynaPDF.GetCompressionLevel
- DynaPDF.InsertImage
- DynaPDF.New
- DynaPDF.SetCompressionFilter
- ZipFile.SetCompressionLevel
Example Databases
- DynaPDF/Add Page Links
- DynaPDF/Merge PDFs
- DynaPDF/Signature Appearance
- Mac and iOS/PDFKit/Pictures to PDF
Blog Entries
- Create PDF/UA with DynaPDF in FileMaker
- DynaPDF graphics flags
- Add page links for FileMaker
- MBS Filemaker Plugin, version 4.0pr5
This function checks for a license.
Created 18th August 2014, last changed 29th January 2026
MarkDown version: DynaPDFSetCompressionLevel.md