本帖最后由 dexteryao 于 2016-6-3 09:30 编辑
您试下这种方式
fpSpread1.Sheets.Clear();
for (int i = 0; i < 20; i++)
{
var spread = new FarPoint.Win.Spread.FpSpread();
spread.Open(@"D:\aabs.xml");
spread.Sheets[0].SheetName = "SS" + i.ToString();
fpSpread1.Sheets.Add(spread.Sheets[0]);
}
fpSpread1.PrintSheet(-1);
|