Platforms to show: All Mac Windows Linux Cross-Platform
DesktopPDFViewControlMBS control
See also classic control: PDFViewControlMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
control | PDFKit | MBS PDFKit Plugin | 21.5 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
This control embeds a special PDFView subclass.
Designed for Xojo 2021r3 and newer.
Please use view property to access the underlaying object and set properties.
- 31 events
- event AfterDrawPage(graphics as NSGraphicsMBS, page as PDFPageMBS)
- event AfterDrawPagePost(graphics as NSGraphicsMBS, page as PDFPageMBS)
- event AfterDrawRect(graphics as NSGraphicsMBS, x as Double, y as Double, w as Double, h as Double)
- event BeforeDrawPage(graphics as NSGraphicsMBS, page as PDFPageMBS) as boolean
- event BeforeDrawPagePost(graphics as NSGraphicsMBS, page as PDFPageMBS) as boolean
- event BeforeDrawRect(graphics as NSGraphicsMBS, x as Double, y as Double, w as Double, h as Double) as boolean
- event BoundsChanged
- event Closing
- event CocoaMouseDown(e as NSEventMBS)
- event CocoaMouseDrag(e as NSEventMBS)
- event CocoaMouseUp(e as NSEventMBS)
- event ConstructContextualMenu(base as DesktopMenuItem, x as Integer, y as Integer) As Boolean
- event ContextualMenuItemSelected(selectedItem As DesktopMenuItem) As Boolean
- event didCloseContextualMenu(menu as NSMenuMBS, NSEvent as NSEventMBS) New in 24.1
- event FocusLost
- event FocusReceived
- event FrameChanged
- event MenuBarSelected
- event MouseDown(x as Integer, y as Integer, Modifiers as Integer) As Boolean
- event MouseDrag(x as Integer, y as Integer)
- event MouseUp(x as Integer, y as Integer)
- event Opening
- event OpenPDFforRemoteGoToAction(action as PDFActionRemoteGoToMBS)
- event PerformFind
- event PerformGoToPage
- event PerformPrint
- event PrintJobTitle as String
- event ScaleFactorChanged(NewFactor as Double)
- event WillChangeScaleFactor(scale as Double) as Double
- event WillClickOnLink(URL as String)
- event willShowContextualMenu(menu as NSMenuMBS, NSEvent as NSEventMBS) New in 24.1
- 2 properties
- property View as PDFViewMBS
- property Overlay(page as PDFPageMBS, post as boolean = true) as variant
- 2 methods
- method ClearOverlay(page as PDFPageMBS, post as boolean = true)
- method ClearOverlays
Blog Entries
- PDF Viewer controls for iOS
- News from the MBS Xojo Plugins in version 21.5
- New desktop controls
- MBS Xojo Plugins, version 21.3pr1
- News from the MBS Xojo Plugins Version 21.1
- MBS Xojo Plugins, version 21.1pr3
- MBS Xojo Plugins, version 19.6pr1
- MBS Xojo Plugins, version 17.6pr5
- MBS Xojo Plugins, version 17.5pr2
- MBS Xojo / Real Studio Plugins, version 17.0pr1
Release notes
- Version 21.3
- Fixed an issue with IDE crashing when you have a PDFViewControlMBS on a container in a window.
- Version 21.1
- Added CocoaMouseDown, CocoaMouseDrag and CocoaMouseUp events to PDFViewControlMBS control to handle low level mouse events.
- Version 20.0
- Fixed crash with PDFViewControlMBS control in the Xojo IDE.
- Version 18.0
- Added MBS Logo to PDFViewControlMBS preview.
- Fixed problem with PDFViewControlMBS and Xojo IDE.
- Version 17.5
- Added overlay methods to CustomPDFViewMBS class and PDFViewControlMBS control.
- Version 17.0
- The draw events are no longer called for CustomPDFViewMBS and PDFViewControlMBS if the OS calls them on non-main thread.
The items on this page are in the following plugins: MBS PDFKit Plugin.
DesktopPDFThumbnailViewControlMBS - DesktopPHLivePhotoControlMBS