Platforms to show: All Mac Windows Linux Cross-Platform

Back to PDFViewControlMBS control.

Previous items

PDFViewControlMBS.PerformPrint

Type Topic Plugin Version macOS Windows Linux iOS Targets
event PDFKit MBS PDFKit Plugin 21.1 ✅ Yes ❌ No ❌ No ❌ No
Prints the current document.

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
Overrides the job title used when the PDFView is printed.

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
The backing store scale factor has changed.

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
Overrides changes to the scale factor.

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
Handle clicks on URL links in a view.

If implemented, this event will be called to handle clicks on URL links within the PDFView.
The default implementation calls openURL on NSWorkspaceMBS class.

Previous items

The items on this page are in the following plugins: MBS PDFKit Plugin.


💬 Ask a question or report a problem
The biggest plugin in space...