Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

Platforms to show: All Mac Windows Linux Cross-Platform

PDFViewMBS class

Super class: NSViewMBS

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class PDFKit MBS MacControls Plugin 9.6 Yes No No Yes, macOS only No
Function: A PDFView object encapsulates the functionality of PDF Kit into a single widget that you can add to your application.
Notes:
PDFView may be the only class you need to deal with for adding PDF functionality to your application. It lets you display PDF data and allows users to select content, navigate through a document, set zoom level, and copy textual content to the Pasteboard. PDFView also keeps track of page history.

You can subclass PDFView to create a custom PDF viewer or better use our CustomPDFViewMBS class.

You can also create a custom PDF viewer by using the PDF Kit utility classes directly and not using PDFView at all.

You can embed this view in a CustomNSViewMBS to get more events for mouse and keyboard.
Subclass of the NSViewMBS class.

Feedback, Comments & Corrections

Interpolation Quality Constants

Constant Value Description
kPDFInterpolationQualityHigh 2 high
kPDFInterpolationQualityLow 1 low
kPDFInterpolationQualityNone 0

Super class NSViewMBS

Window Order Constants

Constant Value Description
NSWindowAbove 1 Moves the window above the indicated window.
NSWindowBelow -1 Moves the window below the indicated window.
NSWindowOut 0 Moves the window off the screen.

Super class NSResponderMBS

Sub classes:

Some properties using for this class:

Some examples which use this class:


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


PDFThumbnailViewMBS   -   PermissionsMBS




Links
MBS Xojo Chart Plugins