Method: RubyXL::WorksheetConvenienceMethods#get_column_width_raw

Defined in:
lib/rubyXL/convenience_methods/worksheet.rb

#get_column_width_raw(column_index = 0) ⇒ Object

Get raw column width value as stored in the file

[View source]

357
358
359
360
361
362
363
# File 'lib/rubyXL/convenience_methods/worksheet.rb', line 357

def get_column_width_raw(column_index = 0)
  validate_workbook
  validate_nonnegative(column_index)

  range = cols.locate_range(column_index)
  range && range.width
end