Platforms to show: All Mac Windows Linux Cross-Platform
Back to PDFViewControlMBS control.
PDFViewControlMBS.PerformPrint
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | PDFKit | MBS PDFKit Plugin | 21.1 | ✅ Yes | ❌ No | ❌ No | ❌ No |
Certain PDFAction's may request that the PDF viewer application Print the current document. This event will be called when the user clicks on an annotation with such an action.
PDFViewControlMBS.PrintJobTitle as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | PDFKit | MBS PDFKit Plugin | 21.1 | ✅ Yes | ❌ No | ❌ No | ❌ No |
Allows to override the job title when PDFView is printed. The default implementation uses the string, if any, associated with the "Title" key from the view's PDFDocumentMBS attribute dictionary. Failing that, it uses the last path component if the PDFDocumentMBS is URL-based.
PDFViewControlMBS.ScaleFactorChanged(NewFactor as Double)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | PDFKit | MBS PDFKit Plugin | 17.1 | ✅ Yes | ❌ No | ❌ No | ❌ No |
Please invalidate any cached bitmaps or other relevant state.
PDFViewControlMBS.WillChangeScaleFactor(scale as Double) as Double
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | PDFKit | MBS PDFKit Plugin | 21.1 | ✅ Yes | ❌ No | ❌ No | ❌ No |
Allows to override changes to the scale factor. The default implementation pins scaling between 0.1 and 10.0.
If you add this event, please return a value, e.g. the passed scale value.
PDFViewControlMBS.WillClickOnLink(URL as String)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
event | PDFKit | MBS PDFKit Plugin | 21.1 | ✅ Yes | ❌ No | ❌ No | ❌ No |
If implemented, this event will be called to handle clicks on URL links within the PDFView.
The default implementation calls openURL on NSWorkspaceMBS class.
The items on this page are in the following plugins: MBS PDFKit Plugin.