Axlsx ignores image.start_at

谁说胖子不能爱 提交于 2019-12-13 06:48:22

问题


Just a small problem that i'm facing with axlsx_rails images.
currently i have this:

sheet.add_image(:image_src => img, :noSelect => false, :noMove => false) do |image|
      image.start_at 5, 5
      image.end_at 15, 20 
  end

and it seems to somehow ignore the image.start_at line. No matter what values i give it, the image starts from 0,0 (Cell A1) and stretches until the values specified in image.end_at.
Does anyone know what could be causing this or how to get around it ? I need to simply put the image inside 3 merged cells.

来源:https://stackoverflow.com/questions/38769065/axlsx-ignores-image-start-at

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!