class AsposeSlidesCloud::ShapeExportFormat

Constants

BMP
GIF
JPEG
PNG
SVG
TIFF

Public Instance Methods

build_from_hash(value) click to toggle source

Builds the enum from string @param [String] The enum value in the form of the string @return [String] The enum value

# 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