Class: AsposeSlidesCloud::ShapeExportFormat
- Inherits:
-
Object
- Object
- AsposeSlidesCloud::ShapeExportFormat
- Defined in:
- lib/aspose_slides_cloud/models/shape_export_format.rb
Constant Summary collapse
- JPEG =
'Jpeg'.freeze
- PNG =
'Png'.freeze
- GIF =
'Gif'.freeze
- BMP =
'Bmp'.freeze
- TIFF =
'Tiff'.freeze
- SVG =
'Svg'.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
38 39 40 41 42 |
# File 'lib/aspose_slides_cloud/models/shape_export_format.rb', line 38 def build_from_hash(value) constantValues = ShapeExportFormat.constants.select { |c| ShapeExportFormat::const_get(c) == value } raise "Invalid ENUM value #{value} for class #ShapeExportFormat" if constantValues.empty? value end |