Platforms to show: All Mac Windows Linux Cross-Platform

QLPreviewControllerMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class QuickLook MBS iOS Plugin 23.3 ❌ No ❌ No ❌ No ✅ Yes iOS only
A specialized view controller for previewing an item.

A QLPreviewController can display previews for many common file types, including the following:

  • iWork documents
  • Microsoft Office documents
  • Rich text format, or RTF, documents
  • PDF files
  • Images
  • Text files with a uniform type identifier that conforms to the public.text type. To learn more, see Uniform type identifiers.
  • Comma-separated values, or CSV, files
  • 3D models in the USDZ format with both standalone and AR views for viewing the model

The list of supported common file types may change between operating system releases. In addition, you can enable previews for your own file types by implementing your own preview extension.

With editing mode, you get the PDF markup editor right into your Xojo application.

See QLPreviewViewControlMBS for desktop macOS projects.
See WinPreviewControlMBS control for Windows targets.

Editing Modes

Constant Value Description
EditingModeCreateCopy 2 Represents the mode to create a copy of the file and perform the edits on the copy.
EditingModeDisabled 0 Represents the mode to disable edit mode for the file.
EditingModeUpdateContents 1 Represents the mode to update the file directly without creating a copy.

This class has no sub classes.

Some examples using this class:

Blog Entries

Release notes

  • Version 24.2
    • Added AllowRotation parameter for QLPreviewControllerMBS class constructor to allow more rotation than the parent view.
  • Version 23.3

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

QDPictMBS   -   QLPreviewPanelMBS

The biggest plugin in space...