Platforms to show: All Mac Windows Linux Cross-Platform
PDFViewControlMBS control
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
control | PDFKit | MBS MacControls Plugin | 13.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Notes:
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.
- 26 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 CocoaMouseDown(e as NSEventMBS)
- event CocoaMouseDrag(e as NSEventMBS)
- event CocoaMouseUp(e as NSEventMBS)
- event EnableMenuItems
- event FrameChanged
- event GotFocus
- event LostFocus
- event MenuAction(HitItem as MenuItem) As Boolean
- 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 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)
- 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 which use this control:
- /MacCocoa/PDFKit/PDFView/PDFView overlay/PDFView overlay
- /MacCocoa/PDFKit/PDFView/PDFView overlay/PDFViewControl overlay
- /MacControls/PDFViewControlMBS Test
Blog Entries
- 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
- MBS Xojo / Real Studio Plugins, version 13.4pr7
The items on this page are in the following plugins: MBS MacControls Plugin.
PDFThumbnailViewControlMBS - PHLivePhotoControlMBS

Links
MBS Xojo blog