Class: AsposeSlidesCloud::SlideExportFormat

Inherits:
Object
  • Object
show all
Defined in:
lib/aspose_slides_cloud/models/slide_export_format.rb

Constant Summary collapse

JPEG =
'Jpeg'.freeze
PNG =
'Png'.freeze
GIF =
'Gif'.freeze
BMP =
'Bmp'.freeze
TIFF =
'Tiff'.freeze
HTML =
'Html'.freeze
PDF =
'Pdf'.freeze
XPS =
'Xps'.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
POTX =
'Potx'.freeze
POT =
'Pot'.freeze
POTM =
'Potm'.freeze
SVG =
'Svg'.freeze
FODP =
'Fodp'.freeze
XAML =
'Xaml'.freeze
HTML5 =
'Html5'.freeze
MD =
'Md'.freeze
XML =
'Xml'.freeze

Instance Method Summary collapse

Instance Method Details

#build_from_hash(value) ⇒ String

Builds the enum from string

Parameters:

  • The (String)

    enum value in the form of the string

Returns:

  • (String)

    The enum value



57
58
59
60
61
# File 'lib/aspose_slides_cloud/models/slide_export_format.rb', line 57

def build_from_hash(value)
  constantValues = SlideExportFormat.constants.select { |c| SlideExportFormat::const_get(c) == value }
  raise "Invalid ENUM value #{value} for class #SlideExportFormat" if constantValues.empty?
  value
end