Platforms to show: All Mac Windows Linux Cross-Platform

QuartzFilterMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class CoreGraphics MBS MacControls Plugin 8.6 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
The Quartz filter class.
Example
// Create a couple of PDF files to test different Quartz filters

// get some picture
Var pic as Picture = LogoMBS(500)
Var image as new NSImageMBS(pic)

// create page with picture
Var page as new PDFPageMBS(image)

// create new document
Var doc as new PDFDocumentMBS

// add page
doc.insertPage(page,0)

// get filters
Var manager as new QuartzFilterManagerMBS
Var filters() as QuartzFilterMBS = Manager.filters

for each filter as QuartzFilterMBS in filters

// save PDF with this filter
Var file as FolderItem = SpecialFolder.Desktop.Child(filter.localizedName+".pdf")

call doc.write(file, filter)

next

This filters can be used to change PDFs on writing like to reduce the file size.
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.

This class has no sub classes.

Some methods using this class:

Some events using this class:

Some examples using this class:

Blog Entries


The items on this page are in the following plugins: MBS MacControls Plugin.


QuartzFilterManagerMBS   -   QuartzFilterViewMBS


The biggest plugin in space...