Class: AsposeSlidesCloud::ExportFormat
- Inherits:
-
Object
- Object
- AsposeSlidesCloud::ExportFormat
- Defined in:
- lib/aspose_slides_cloud/models/export_format.rb
Constant Summary collapse
- PDF =
'Pdf'.freeze
- XPS =
'Xps'.freeze
- TIFF =
'Tiff'.freeze
- PPTX =
'Pptx'.freeze
- ODP =
'Odp'.freeze
- OTP =
'Otp'.freeze
- PPT =
'Ppt'.freeze
- PPS =
'Pps'.freeze
- PPSX =
'Ppsx'.freeze
- PPTM =
'Pptm'.freeze
- PPSM =
'Ppsm'.freeze
- POT =
'Pot'.freeze
- POTX =
'Potx'.freeze
- POTM =
'Potm'.freeze
- HTML =
'Html'.freeze
- HTML5 =
'Html5'.freeze
- SWF =
'Swf'.freeze
- SVG =
'Svg'.freeze
- JPEG =
'Jpeg'.freeze
- PNG =
'Png'.freeze
- GIF =
'Gif'.freeze
- BMP =
'Bmp'.freeze
- FODP =
'Fodp'.freeze
- XAML =
'Xaml'.freeze
- MPEG4 =
'Mpeg4'.freeze
- MD =
'Md'.freeze
- XML =
'Xml'.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
59 60 61 62 63 |
# File 'lib/aspose_slides_cloud/models/export_format.rb', line 59 def build_from_hash(value) constantValues = ExportFormat.constants.select { |c| ExportFormat::const_get(c) == value } raise "Invalid ENUM value #{value} for class #ExportFormat" if constantValues.empty? value end |