Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

PDFKit.SetCurrentFilter

Sets the current filter.

Component Version macOS Windows Linux Server iOS SDK
PDFKit 4.3 ✅ Yes ❌ No ❌ No ✅ Yes, on macOS ❌ No
MBS( "PDFKit.SetCurrentFilter"; name )   More

Parameters

Parameter Description Example
name The name of the filter. Use QuartzFilterManager.Filters to get list of filters. If Filter name is empty or missing, the filter is removed. "Compress Pictures"

Result

Returns OK or error.

Description

Sets the current filter.
You can use the Quartz Filter Manager panel to create a panel.
This is for all PDF saving in MBS Plugin with PDFKit functions.
Applied to PDF in PDFKit.GetPDFPagesPDF, PDFKit.GetPDFPagePDF, PDFKit.Combine, PDFKit.WriteToPath and other functions writing PDFs.

Examples

Set a filter:

MBS("PDFKit.SetCurrentFilter"; "Compress Pictures")

See also

Example Databases

Blog Entries

This function is free to use.

Created 18th August 2014, last changed 3th June 2019


PDFKit.SelectPrinter - PDFKit.SetIgnoreCombineErrors