Method: AsposePdfCloud::TextState#valid?

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

#valid?Boolean

Check to see if the all the properties in the model are valid

Returns:

  • (Boolean)

    true if the model is valid



158
159
160
161
162
# File 'lib/aspose_pdf_cloud/models/text_state.rb', line 158

def valid?
  return false if @font_size.nil?
  return false if @font_style.nil?
  return true
end