PDFDocumentMBS 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
PDFDocumentMBS class
The PDFKit class for a PDF document.
Basicly this is the code used by Preview.app by Apple.
Destructor is dispatched to main thread to avoid bugs in OS X 10.12.
- 29 properties
- 29 methods
- method appendPage(page as PDFPageMBS)
- method beginFindString(text as string, options as Integer)
- method beginFindStrings(texts() as string, options as integer)
- method cancelFindString
- method Constructor
- method Constructor(data as memoryblock)
- method Constructor(data as String)
- method Constructor(file as folderitem)
- method Constructor(Handle as Integer)
- method copy as PDFDocumentMBS
- method dataRepresentation(QuartzFilter as Variant = nil) as memoryblock
- method exchangePageAtIndexWithPageAtIndex(indexA as Integer, indexB as Integer)
- method findString(text as string, options as Integer) as PDFSelectionMBS()
- method findStringFromSelection(text as string, selection as PDFSelectionMBS, options as Integer) as PDFSelectionMBS
- method indexForPage(page as PDFPageMBS) as Integer
- method insertPage(page as PDFPageMBS, index as Integer)
- method Keywords as string()
- method outlineItemForSelection(selection as PDFSelectionMBS) as PDFOutlineMBS
- method pageAtIndex(index as Integer) as PDFPageMBS
- method PrintOperation(PrintInfo as Variant, AutoRotate as boolean = true, scalingMode as Integer = 0) as Variant
- method removePageAtIndex(index as Integer)
- method selectionForEntireDocument as PDFSelectionMBS
- method selectionFromPage(StartPage as PDFPageMBS, StartCharacterIndex as Integer, EndPage as PDFPageMBS, EndCharacterIndex as Integer) as PDFSelectionMBS
- method selectionFromPage(StartPage as PDFPageMBS, StartPointX as single, StartPointY as single, EndPage as PDFPageMBS, EndPointX as single, EndPointY as single) as PDFSelectionMBS
- method SetDelegate(d as PDFDocumentDelegateMBS)
- method SetKeywords(keywords() as string)
- method unlockWithPassword(password as string) as boolean
- method write(file as folderitem, QuartzFilter as Variant = nil) as boolean
- method writeWithOptions(file as folderitem, options as dictionary) as boolean
- 20 shared methods
- 9 constants
Document Permissions
Page Scaling Modes
Constant |
Value |
Description |
kPDFPrintPageScaleDownToFit
|
2 |
|
kPDFPrintPageScaleNone
|
0 |
|
kPDFPrintPageScaleToFit
|
1 |
|
Search Flags
Constant |
Value |
Description |
NSBackwardsSearch
|
4 |
Performs searching from the end of the range toward the beginning.
|
NSCaseInsensitiveSearch
|
1 |
Ignores case distinctions among characters.
|
NSLiteralSearch
|
2 |
Performs a byte-for-byte comparison. Differing literal sequences (such as composed character sequences) that would otherwise be considered equivalent are considered not to match. Using this option can speed some operations dramatically.
|
This class has no sub classes.
Some methods using this class:
Some properties using for this class:
Some examples using this class:
Blog Entries
Xojo Developer Magazine
Release notes
- Version 20.2
- Version 19.1
The items on this page are in the following plugins: MBS PDFKit Plugin.
PDFDocumentDelegateMBS
-
PDFOutlineMBS