Platforms to show: All Mac Windows Linux Cross-Platform
PDFViewControlMBS control
See also desktop control: DesktopPDFViewControlMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
control | PDFKit | MBS PDFKit Plugin | 13.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
This control embeds a special PDFView subclass.
Designed for Xojo 2013r1 and newer. May work on Xojo 2012, but not perfectly.
Please use view property to access the underlaying object and set properties.
Can be linked to a PDFThumbnailViewControlMBS control to show the thumbnails for the pages.
See PDFViewIOSControlMBS control for iOS projects.
See WinPreviewControlMBS control for Windows targets.
- 36 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 Close
- event Closing
- event CocoaMouseDown(e as NSEventMBS)
- event CocoaMouseDrag(e as NSEventMBS)
- event CocoaMouseUp(e as NSEventMBS)
- event ConstructContextualMenu(base as MenuItem, x as Integer, y as Integer) as Boolean
- event ContextualMenuAction(hitItem as MenuItem) as Boolean
- event didCloseContextualMenu(menu as NSMenuMBS, NSEvent as NSEventMBS)
- event EnableMenuItems
- event FocusLost
- event FocusReceived
- event FrameChanged
- event GotFocus
- event LostFocus
- 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 Open
- 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)
- 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
Some examples using this control:
- /PDFKit/PDFView/PDFView overlay/PDFView overlay
- /PDFKit/PDFView/PDFView overlay/PDFViewControl overlay
- /PDFKit/PDFViewControlMBS Test
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.
PDFThumbnailViewIOSControlMBS - PDFViewIOSControlMBS
