Platforms to show: All Mac Windows Linux Cross-Platform

Back to PDFDocumentMBS class.

PDFDocumentMBS.kPDFDocumentPermissionsNone = 0

Type Topic Plugin Version
const PDFKit MBS PDFKit Plugin 9.6
One of the permission status constants.
Example
dim f as FolderItem = SpecialFolder.Desktop.Child("test.pdf")
dim doc as new PDFDocumentMBS(f)

Select case doc.permissionsStatus
case doc.kPDFDocumentPermissionsNone
MsgBox "None"
case doc.kPDFDocumentPermissionsOwner
MsgBox "Owner or no password"
case doc.kPDFDocumentPermissionsUser
MsgBox "User"
end Select

Document permissions status. For encrypted PDF's, supplying the owner password will enable owner permission status.

PDFDocumentMBS.kPDFDocumentPermissionsOwner = 2

Type Topic Plugin Version
const PDFKit MBS PDFKit Plugin 9.6
One of the permission status constants.
Example
dim f as FolderItem = SpecialFolder.Desktop.Child("test.pdf")
dim doc as new PDFDocumentMBS(f)

Select case doc.permissionsStatus
case doc.kPDFDocumentPermissionsNone
MsgBox "None"
case doc.kPDFDocumentPermissionsOwner
MsgBox "Owner or no password"
case doc.kPDFDocumentPermissionsUser
MsgBox "User"
end Select

PDFDocumentMBS.kPDFDocumentPermissionsUser = 1

Type Topic Plugin Version
const PDFKit MBS PDFKit Plugin 9.6
One of the permission status constants.
Example
dim f as FolderItem = SpecialFolder.Desktop.Child("test.pdf")
dim doc as new PDFDocumentMBS(f)

Select case doc.permissionsStatus
case doc.kPDFDocumentPermissionsNone
MsgBox "None"
case doc.kPDFDocumentPermissionsOwner
MsgBox "Owner or no password"
case doc.kPDFDocumentPermissionsUser
MsgBox "User"
end Select

PDFDocumentMBS.kPDFPrintPageScaleDownToFit = 2

Type Topic Plugin Version
const PDFKit MBS PDFKit Plugin 9.6
One of the constants for printing page-scaling modes.

PDFDocumentMBS.kPDFPrintPageScaleNone = 0

Type Topic Plugin Version
const PDFKit MBS PDFKit Plugin 9.6
One of the constants for printing page-scaling modes.

PDFDocumentMBS.kPDFPrintPageScaleToFit = 1

Type Topic Plugin Version
const PDFKit MBS PDFKit Plugin 9.6
One of the constants for printing page-scaling modes.

PDFDocumentMBS.NSBackwardsSearch = 4

Type Topic Plugin Version
const PDFKit MBS PDFKit Plugin 8.0
One of the search flag constants.

Performs searching from the end of the range toward the beginning.

PDFDocumentMBS.NSCaseInsensitiveSearch = 1

Type Topic Plugin Version
const PDFKit MBS PDFKit Plugin 8.0
One of the search flag constants.

Ignores case distinctions among characters.

PDFDocumentMBS.NSLiteralSearch = 2

Type Topic Plugin Version
const PDFKit MBS PDFKit Plugin 8.0
One of the search flag constants.

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.

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...