ImageGear for C and C++ on Windows v20.0 - Updated
enumIGPDFPermsFlags
API Reference Guide > PDF Component API Reference > PDF Component Enumerations Reference > enumIGPDFPermsFlags

Flags that describe permissions wanted and granted for a document. Not all permissions will be granted if the document is protected or if the document is newer version than the application knows about.

Values:

IG_PDF_PERM_OPEN 0x01 The user is permitted to open and decrypt the document.
IG_PDF_PERM_SECURE 0x02 The user is permitted to change the document's security settings.
IG_PDF_PERM_PRINT 0x04 The user is permitted to print the document. Page Setup access is unaffected by this permission, since that affects Acrobat's preferences - not the document's. In the Document Security dialog, this corresponds to the Printing entry.
IG_PDF_PERM_EDIT 0x08 The user is permitted to edit the document more than adding or modifying text notes (see also IG_PDF_PERM_EDIT_NOTES). In the Document Security dialog, this corresponds to the Changing the Document entry.
IG_PDF_PERM_COPY 0x10 The user is permitted to copy information from the document to the clipboard. In the Document Security dialog, this corresponds to the Content Copying or Extraction entry.
IG_PDF_PERM_EDIT_NOTES 0x20 The user is permitted to add, modify, and delete text notes (see also IG_PDF_PERM_EDIT). In the Document Security dialog, this corresponds to the Authoring Comments and Form Fields entry.
IG_PDF_PERM_SAVE_AS 0x40

The user is permitted to perform a "Save As..." If both IG_PDF_PERM_EDIT and IG_PDF_PERM_EDIT_NOTES are disallowed, "Save" will be disabled but "Save As..." is enabled. The "Save As..." menu item is not necessarily disabled even if the user is not permitted to perform a "Save As...". 

Not settable by clients.

IG_PDF_PERM_EXT 0x80 0x80 flag (no description).
IG_PDF_PRIV_PERM_FILL_AND_SIGN 0x100 Override other enumIGPDFPermsFlags bits. It allows a user to fill-in or sign existing form or signature fields.
IG_PDF_PRIV_PERM_ACCESSIBLE 0x200 Override IG_PDF_PERM_COPY to enable Accessibility API. If a document is saved in Rev2 format (Acrobat 4.0 compatible), only IG_PDF_PERM_COPY bit is checked to determine Accessibility API state.
IG_PDF_PRIV_PERM_DOC_ASSEMBLY 0x400 Override various IG_PDF_PERM_EDIT bit and allow the following operations; page insert/delete/rotate and create bookmark and thumbnail.
IG_PDF_PRIV_PERM_HIGH_PRINT 0x800 This bit is supplement to IG_PDF_PERM_PRINT. If it is clear (disabled) only low quality printing (Print As Image) is allowed. Under UNIX platforms, where "Print As Image" doesn't exist, printing is disabled.
IG_PDF_PERM_OWNER 0x8000 The user is permitted to perform all operations, regardless of the permissions specified by the document. Unless this permission is set, the document's permissions will be reset to those in the document after a full save.
IG_PDF_PRIV_PERM_FORM_SUBMIT 0x10000 Should be set if user can submit forms outside of the browser. This bit is supplement to IG_PDF_PRIV_PERM_FILL_AND_SIGN.
IG_PDF_PRIV_PERM_FORM_SPAWN_TEMPL 0x20000 Should be set if user can spawn template pages. This bit will allow page template spawning even if IG_PDF_PERM_EDIT and IG_PDF_PERM_EDIT_NOTES are clear.
IG_PDF_PERM_ALL 0xFFFFFFFF Sets all permissions, including bit-fields that are reserved for future use.
IG_PDF_PERM_SETTABLE IG_PDF_PERM_PRINT + IG_PDF_PERM_EDIT + IG_PDF_PERM_COPY + IG_PDF_PERM_EDIT_NOTES The OR of all operations that can be set by the user in the Standard Security dialog (IG_PDF_PERM_PRINT + IG_PDF_PERM_EDIT + IG_PDF_PERM_COPY + IG_PDF_PERM_EDIT_NOTES)
IG_PDF_PERM_USER IG_PDF_PERM_ALL - IG_PDF_PERM_OPEN - IG_PDF_PERM_SECURE All permissions.
Is this page helpful?
Yes No
Thanks for your feedback.