提交 3c8c8c55 编写于 作者: xurime's avatar xurime

resolved #691, fix the scale for add picture not work

上级 4e4baac3
......@@ -253,6 +253,9 @@ func (f *File) addDrawingPicture(sheet, drawingXML, cell, file string, width, he
if err != nil {
return err
}
} else {
width = int(float64(width) * formatSet.XScale)
height = int(float64(height) * formatSet.YScale)
}
col--
row--
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册