Class: AsposeWordsCloud::PdfPermissions
- Inherits:
-
Object
- Object
- AsposeWordsCloud::PdfPermissions
- Defined in:
- lib/aspose_words_cloud/models/pdf_permissions.rb
Overview
Specifies the operations that are allowed to a user on an encrypted PDF document.
Constant Summary collapse
- DISALLOWALL =
"DisallowAll".freeze
- PRINTING =
"Printing".freeze
- MODIFYCONTENTS =
"ModifyContents".freeze
- CONTENTCOPY =
"ContentCopy".freeze
- MODIFYANNOTATIONS =
"ModifyAnnotations".freeze
- FILLIN =
"FillIn".freeze
- CONTENTCOPYFORACCESSIBILITY =
"ContentCopyForAccessibility".freeze
- DOCUMENTASSEMBLY =
"DocumentAssembly".freeze
- HIGHRESOLUTIONPRINTING =
"HighResolutionPrinting".freeze
- ALLOWALL =
"AllowAll".freeze
Instance Method Summary collapse
-
#build_from_hash(value) ⇒ String
Builds the enum from string.
Instance Method Details
#build_from_hash(value) ⇒ String
Builds the enum from string
46 47 48 49 50 |
# 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 |