PDFPageMBS class
Online Documentation - Statistics - FAQ - Plugin Parts (All, Dependencies) - Class hierarchy
New in Version
22.2
22.3
22.4
22.5
23.0
23.1
23.2
23.3
23.4
23.5
24.0
24.1
The list of the topics,
classes,
interfaces,
controls,
modules,
global methods by category,
global methods by name,
screenshots,
licenses
and examples.
Platforms to show: All Mac Windows Linux Cross-Platform
PDFPageMBS class
The PDFKit class for a page in a pdf document.
- event drawRect(box as Integer, g as NSGraphicsMBS)
- 10 properties
- 23 methods
- method addAnnotation(annotation as PDFAnnotationMBS)
- method annotationAtPoint(x as single, y as single) as PDFAnnotationMBS
- method annotations as PDFAnnotationMBS()
- method CalcTransformForBox(box as Integer) as Variant
- method characterBoundsAtIndex(index as Integer) as NSRectMBS
- method characterIndexAtPoint(x as single, y as single) as Integer
- method Constructor
- method Constructor(Handle as Integer)
- method Constructor(image as NSImageMBS)
- method copy as PDFPageMBS
- method Destructor
- method Draw(g as NSGraphicsMBS, box as Integer = 0)
- method drawWithBox(box as Integer)
- method removeAnnotation(annotation as PDFAnnotationMBS)
- method Render(dpi as Double = 72.0, box as Integer = 0, background as NSColorMBS = nil) as NSImageMBS
- method selectionForLineAtPoint(left as single, top as single) as PDFSelectionMBS
- method selectionForRange(position as Integer, length as Integer) as PDFSelectionMBS
- method selectionForRect(left as single, top as single, width as single, height as single) as PDFSelectionMBS
- method selectionForWordAtPoint(left as single, top as single) as PDFSelectionMBS
- method selectionFromPointToPoint(startleft as single, starttop as single, endleft as single, endtop as single) as PDFSelectionMBS
- method thumbnailOfSize(size as NSSizeMBS, box as integer) as NSImageMBS
- method transformContextForBox(box as Integer)
- method transformForBox(box as integer) as variant
- 5 constants
Constants
Constant |
Value |
Description |
kPDFDisplayBoxArtBox
|
4 |
One of the constants to use for page boxes.
|
Boxes
Constant |
Value |
Description |
kPDFDisplayBoxBleedBox
|
2 |
|
kPDFDisplayBoxCropBox
|
1 |
|
kPDFDisplayBoxMediaBox
|
0 |
|
kPDFDisplayBoxTrimBox
|
3 |
|
This class has no sub classes.
Some methods using this class:
Some properties using for this class:
Some events using this class:
- CustomPDFViewMBS.AfterDrawPagePost(graphics as NSGraphicsMBS, page as PDFPageMBS)
- CustomPDFViewMBS.BeforeDrawPage(graphics as NSGraphicsMBS, page as PDFPageMBS) as boolean
- CustomPDFViewMBS.BeforeDrawPagePost(graphics as NSGraphicsMBS, page as PDFPageMBS) as boolean
- DesktopPDFViewControlMBS.AfterDrawPagePost(graphics as NSGraphicsMBS, page as PDFPageMBS)
- DesktopPDFViewControlMBS.BeforeDrawPage(graphics as NSGraphicsMBS, page as PDFPageMBS) as boolean
- DesktopPDFViewControlMBS.BeforeDrawPagePost(graphics as NSGraphicsMBS, page as PDFPageMBS) as boolean
- PDFViewControlMBS.AfterDrawPage(graphics as NSGraphicsMBS, page as PDFPageMBS)
- PDFViewControlMBS.AfterDrawPagePost(graphics as NSGraphicsMBS, page as PDFPageMBS)
- PDFViewControlMBS.BeforeDrawPage(graphics as NSGraphicsMBS, page as PDFPageMBS) as boolean
- PDFViewControlMBS.BeforeDrawPagePost(graphics as NSGraphicsMBS, page as PDFPageMBS) as boolean
Some examples using this class:
Blog Entries
Xojo Developer Magazine
Release notes
- Version 22.5
- Fixed drawRect event for PDFPageMBS class for macOS Ventura.
- Version 20.2
The items on this page are in the following plugins: MBS PDFKit Plugin.
PDFOutlineMBS
-
PDFSelectionMBS