FarPoint.Web.Spread.SheetView first = FpSpread1.ActiveSheetView; FarPoint.Web.Spread.PrintInfo pi = new FarPoint.Web.Spread.PrintInfo(); pi.Orientation = FarPoint.Web.Spread.PrintOrientation.Landscape; first.PrintInfo = pi; FpSpread1.SavePdf("c:\\test.pdf");
Dim first As FarPoint.Web.Spread.SheetView first = FpSpread1.ActiveSheetView Dim pi As New FarPoint.Web.Spread.PrintInfo() pi.Orientation = FarPoint.Web.Spread.PrintOrientation.Landscape first.PrintInfo = pi FpSpread1.SavePdf("c:\test.pdf")