class AsposeWordsCloud::PdfPermissions
Specifies the operations that are allowed to a user on an encrypted PDF document.
Constants
- ALLOWALL
- CONTENTCOPY
- CONTENTCOPYFORACCESSIBILITY
- DISALLOWALL
- DOCUMENTASSEMBLY
- FILLIN
- HIGHRESOLUTIONPRINTING
- MODIFYANNOTATIONS
- MODIFYCONTENTS
- PRINTING
Public Instance Methods
Source
# File lib/aspose_words_cloud/models/pdf_permissions.rb, line 46 def build_from_hash(value) constantValues = PdfPermissions.constants.select{|c| PdfPermissions::const_get(c) == value} raise "Invalid ENUM value #{value} for class #PdfPermissions" if constantValues.empty? value end
Builds the enum from string @param [String] The enum value in the form of the string @return [String] The enum value