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:
12.0
12.1
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
Statistic
FMM
Blog
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 to File
- DynaPDF/Merge PDFs
- DynaPDF/Signature Appearance
- Mac and iOS/PDFKit/Pictures to PDF
Blog Entries
This function checks for a paid license.
Created 18th August 2014, last changed 30th November 2019
