打印代码如下:
FarPoint.Web.Spread.PrintInfo prinf = new FarPoint.Web.Spread.PrintInfo();
FarPoint.Web.Spread.SmartPrintRulesCollection prules = new FarPoint.Web.Spread.SmartPrintRulesCollection();
prules.Add(new FarPoint.Web.Spread.SmartPaperRule(FarPoint.Web.Spread.ResetOption.None));
prinf.SmartPrintRules = prules;
prinf.UseSmartPrint = true;
FpSpread1.ActiveSheetView.PrintInfo = prinf;
打印出来之后上面的ABCD列头和左边1234行头也打印出来了,怎么不让他们打印出来呢 |
|