Xojo Conferences

Platforms to show: All Mac Windows Linux Cross-Platform

QuartzFilterMBS class

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

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

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

// create new document
dim doc as new PDFDocumentMBS

// add page

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

for each filter as QuartzFilterMBS in filters

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

call doc.write(file, filter)

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.

Feedback, Comments & Corrections

This class has no sub classes.

Some methods using this class:

Some events for this class:

Some examples which use this class:

Blog Entries

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

QuartzFilterManagerMBS   -   QuartzFilterViewMBS

The biggest plugin in space...

MBS Xojo PDF Plugins