enum Hpdf::Permission

Overview

set via Doc#set_password_and_permission.

Defined in:

hpdf/enum.cr

Enum Members

EnableRead = 0

user can read the document.

EnablePrint = 4

user can print the document.

EnableEditAll = 8

user can edit the contents of the document other than annotations, form fields.

EnableCopy = 16

user can copy the text and the graphics of the document.

EnableEdit = 32

user can add or modify the annotations and form fields of the document.

Instance Method Summary

Instance Method Detail

def enable_copy? #

[View source]
def enable_edit? #

[View source]
def enable_edit_all? #

[View source]
def enable_print? #

[View source]
def enable_read? #

[View source]
def none? #

[View source]