Platforms to show: All Mac Windows Linux Cross-Platform

Back to PDFViewMBS class.

PDFViewMBS.canGoBack as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property PDFKit MBS PDFKit Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Returns a Boolean value indicating whether the user can navigate to the previous page in the page history.

The page history gets built as your application calls navigation methods such as goToDestination and goToLastPage.
(Read only property)

PDFViewMBS.canGoForward as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property PDFKit MBS PDFKit Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Returns a Boolean value indicating whether the user can navigate to the next page in the page history.

The page history gets built as your application calls navigation methods such as goToDestination and goToLastPage.
(Read only property)

PDFViewMBS.canGoToFirstPage as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property PDFKit MBS PDFKit Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Returns a Boolean value indicating whether the user can navigate to the first page of the document.

The return value will be true unless the view is already displaying the first page.
(Read only property)

PDFViewMBS.canGoToLastPage as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property PDFKit MBS PDFKit Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Returns a Boolean value indicating whether the user can navigate to the last page of the document.

The return value will be true unless the view is already displaying the last page.
(Read only property)

PDFViewMBS.canGoToNextPage as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property PDFKit MBS PDFKit Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Returns a Boolean value indicating whether the user can navigate to the next page of the document.

The return value will be true unless the view is displaying the last page.
(Read only property)

PDFViewMBS.canGoToPreviousPage as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property PDFKit MBS PDFKit Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Returns a Boolean value indicating whether the user can navigate to the previous page of the document.

The return value will be true unless the view is displaying the first page.
(Read only property)

PDFViewMBS.canZoomIn as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property PDFKit MBS PDFKit Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Returns a Boolean value indicating whether the user can magnify the view—that is, zoom in.

(Read only property)

PDFViewMBS.canZoomOut as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property PDFKit MBS PDFKit Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Returns a Boolean value indicating whether the user can view an expanded area—that is, zoom out.

(Read only property)

PDFViewMBS.currentDestination as PDFDestinationMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property PDFKit MBS PDFKit Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Returns a PDFDestination object representing the current page and the current point in the view specified in page space.

Page space is a 72 dpi coordinate system with the origin at the lower-left corner of the current page.
(Read only property)

PDFViewMBS.currentPage as PDFPageMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property PDFKit MBS PDFKit Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Returns the current page.

When there are two pages in the view in a two-up mode, "current page" is the left page. For continuous modes, returns the page crossing a horizontal line halfway between the view's top and bottom bounds.
(Read only property)

PDFViewMBS.currentSelection as PDFSelectionMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property PDFKit MBS PDFKit Plugin 9.6 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
Returns the current selection.
Example
Var MyPDFView as PDFViewMBS // your view

Var doc as PDFDocumentMBS = MyPDFView.document
Var page as PDFPageMBS = doc.pageAtIndex(0)
Var sel as PDFSelectionMBS = page.selectionForRange(0,5)
MyPDFView.currentSelection = sel

Returns NULL if no selection exists.

Note that this method returns the actual instance of the current PDFSelectionMBS object. Therefore, if you want to modify it, you should make a copy of the returned selection and modify that, instead.
(Read and Write property)

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


The biggest plugin in space...