Platforms to show: All Mac Windows Linux Cross-Platform
PDFSelectionMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | PDFKit | MBS PDFKit Plugin | 8.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
- 4 properties
- property attributedString as NSAttributedStringMBS
- property colorValue as NSColorMBS
- property Handle as Integer
- property stringValue as string
- 15 methods
- method addSelection(selection as PDFSelectionMBS)
- method addSelections(selection() as PDFSelectionMBS)
- method boundsForPage(page as PDFPageMBS) as NSRectMBS
- method Constructor(doc as PDFDocumentMBS)
- method Constructor(Handle as Integer)
- method copy as PDFSelectionMBS
- method drawForPage(page as PDFPageMBS, active as boolean)
- method drawForPage(page as PDFPageMBS, box as Integer, active as boolean)
- method extendSelectionAtEnd(chars as Integer)
- method extendSelectionAtStart(chars as Integer)
- method extendSelectionForLineBoundaries
- method numberOfTextRangesOnPage(page as PDFPageMBS) as UInt32
- method pages as PDFPageMBS()
- method rangeAtIndex(page as PDFPageMBS, index as Integer) as NSRangeMBS
- method selectionsByLine as PDFSelectionMBS()
This class has no sub classes.
Some methods using this class:
- PDFDocumentMBS.outlineItemForSelection(selection as PDFSelectionMBS) as PDFOutlineMBS
- PDFDocumentMBS.selectionForEntireDocument as PDFSelectionMBS
- PDFPageMBS.selectionForLineAtPoint(left as single, top as single) as PDFSelectionMBS
- PDFPageMBS.selectionForRect(left as single, top as single, width as single, height as single) as PDFSelectionMBS
- PDFPageMBS.selectionForWordAtPoint(left as single, top as single) as PDFSelectionMBS
- PDFPageMBS.selectionFromPointToPoint(startleft as single, starttop as single, endleft as single, endtop as single) as PDFSelectionMBS
- PDFViewMBS.goToSelection(page as PDFSelectionMBS)
- PDFViewMBS.highlightedSelections as PDFSelectionMBS()
- PDFViewMBS.setCurrentSelection(selection as PDFSelectionMBS, animate as boolean)
- PDFViewMBS.setHighlightedSelections(selections() as PDFSelectionMBS)
Some properties using for this class:
- PDFViewMBS.currentSelection as PDFSelectionMBS
Some events using this class:
- PDFDocumentDelegateMBS.didMatchString(selection as PDFSelectionMBS)
- PDFDocumentDelegateMBS.documentDidFindMatch(selection as PDFSelectionMBS)
Some examples using this class:
Blog Entries
Release notes
- Version 20.2
- Added constructor to take handle to PDFSelectionMBS, PDFActionMBS, PDFAnnotationMBS, PDFBorderMBS, PDFDestinationMBS, PDFDocumentMBS, PDFOutlineMBS and PDFPageMBS classes.
The items on this page are in the following plugins: MBS PDFKit Plugin.
PDFPageMBS - PDFThumbnailViewMBS