Click or drag to resize

SecurityHandlerSetPermission Method

Set the permission setting of the StdSecurityHandler.

Namespace:  pdftron.SDF
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public void SetPermission(
	SecurityHandlerPermission perm,
	bool value
)

Parameters

perm
Type: pdftron.SDFSecurityHandlerPermission
indicates a permission to set or clear. It can be any of the following values:
e_print                // print the document.    
e_doc_modify        // edit the document more than adding or modifying text notes.
e_extract_content    // enable content extraction
e_mod_annot            // allow modifications to annotations
e_fill_forms        // allow changes to fill in forms
e_access_support    // content access for the visually impaired.
e_assemble_doc        // allow document assembly
e_print_high        // high resolution print.
value
Type: SystemBoolean
true if the permission/s should be granted, false otherwise.
See Also