Platforms to show: All Mac Windows Linux Cross-Platform

PDFDocumentMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class PDFKit MBS MacControls Plugin 8.0 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Function: The PDFKit class for a PDF document.
Basicly this is the code used by by Apple.

Destructor is dispatched to main thread to avoid bugs in OS X 10.12.

Document Permissions

Constant Value Description
kPDFDocumentPermissionsNone 0 Document permissions status. For encrypted PDF's, supplying the owner password will enable owner permission status.
kPDFDocumentPermissionsOwner 2
kPDFDocumentPermissionsUser 1

Page Scaling Modes

Constant Value Description
kPDFPrintPageScaleDownToFit 2
kPDFPrintPageScaleNone 0
kPDFPrintPageScaleToFit 1

Search Flags

Constant Value Description
NSBackwardsSearch 4 Performs searching from the end of the range toward the beginning.
NSCaseInsensitiveSearch 1 Ignores case distinctions among characters.
NSLiteralSearch 2 Performs a byte-for-byte comparison. Differing literal sequences (such as composed character sequences) that would otherwise be considered equivalent are considered not to match. Using this option can speed some operations dramatically.

This class has no sub classes.

Some methods using this class:

Some properties using for this class:

Some examples using this class:

Blog Entries

Xojo Developer Magazine

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

PDFDocumentDelegateMBS   -   PDFOutlineMBS

💬 Ask a question or report a problem
The biggest plugin in space...

Start Chat