Method: AsposePdfCloud::Position#list_invalid_properties

Defined in:
lib/aspose_pdf_cloud/models/position.rb

#list_invalid_propertiesObject

Show invalid properties with the reasons. Usually used together with valid?

Returns:

  • Array for valid properies with the reasons



71
72
73
74
75
76
77
78
79
80
81
82
# File 'lib/aspose_pdf_cloud/models/position.rb', line 71

def list_invalid_properties
  invalid_properties = Array.new
  if @x_indent.nil?
    invalid_properties.push("invalid value for 'x_indent', x_indent cannot be nil.")
  end

  if @y_indent.nil?
    invalid_properties.push("invalid value for 'y_indent', y_indent cannot be nil.")
  end

  return invalid_properties
end