class AsposeSlidesCloud::ShapesAlignmentType
Constants
- ALIGN_BOTTOM
- ALIGN_CENTER
- ALIGN_LEFT
- ALIGN_MIDDLE
- ALIGN_RIGHT
- ALIGN_TOP
- DISTRIBUTE_HORIZONTALLY
- DISTRIBUTE_VERTICALLY
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/shapes_alignment_type.rb, line 40 def build_from_hash(value) constantValues = ShapesAlignmentType.constants.select { |c| ShapesAlignmentType::const_get(c) == value } raise "Invalid ENUM value #{value} for class #ShapesAlignmentType" if constantValues.empty? value end