DocumentPrivilege
Contents
[
Hide
]DocumentPrivilege class
Represents the privileges for accessing Pdf file. Refer toPdfFileSecurity.
There are 4 ways using this class:
1.Using predefined privilege directly.
2.Based on a predefined privilege and change some specifical permissions.
3.Based on a predefined privilege and change some specifical Adobe Professional permissions combination.
4.Mixes the way2 and way3.
The DocumentPrivilege type exposes the following members:
Properties
Name | Description |
---|---|
allow_print | Sets the permission which allow print or not. true is allow and false is forbidden. |
allow_degraded_printing | Sets the permission which allow degraded printing or not. true is allow and false is forbidden. |
allow_modify_contents | Sets the permission which allow modify contents or not. true is allow and false is forbidden. |
allow_copy | Sets the permission which allow copy or not. true is allow and false is forbidden. |
allow_modify_annotations | Sets the permission which allow modify annotations or not. true is allow and false is forbidden. |
allow_fill_in | Sets the permission which allow fill in forms or not. true is allow and false is forbidden. |
allow_screen_readers | Sets the permission which allow screen readers or not. true is allow and false is forbidden. |
allow_assembly | Sets the permission which allow assembly or not. true is allow and false is forbidden. |
degraded_printing | Allows degraded printing. |
Allows printing file. | |
modify_contents | Allows modifying file. |
copy | Allows copying file. |
modify_annotations | Allows modifying annotations of file. |
fill_in | Allows filling forms in file. |
screen_readers | Allows to reader on screen only. |
assembly | Allows assemblying file. |
allow_all | All allowed. |
forbid_all | All Forbidded. |
Methods
Name | Description |
---|---|
compare_to(obj) | Compares two DocumentPrivilege objects. |
See Also
- namespace aspose.pdf.facades
- assembly Aspose.PDF