PDFDocumentMBS constants

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

Back to PDFDocumentMBS class.

Document Permissions

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

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


💬 Ask a question or report a problem