sheet中有两列,第一列是文字(超长,可能一个cell里的文字就超过A4一页),第二列是图片,用BackgroundImage 设置的,代码如下
FarPoint.Win.Spread.CellType.GeneralCellType g = new GeneralCellType();
MemoryStream ms = new MemoryStream(edu.EducationImage);
Image image = Image.FromStream(ms);
g.BackgroundImage = new FarPoint.Win.Picture(image, FarPoint.Win.RenderStyle.Stretch);