FarPoint.Web.Spread 名前空間 > PrintMargin クラス > PrintMargin コンストラクタ : PrintMargin コンストラクタ(Int32,Int32,Int32,Int32,Int32,Int32) |
FarPoint.Web.Spread.PrintMargin m = new FarPoint.Web.Spread.PrintMargin(10, 10, 10, 10, 10, 10); FarPoint.Web.Spread.PrintInfo pi = new FarPoint.Web.Spread.PrintInfo(); pi.Margin = m; FpSpread1.ActiveSheetView.PrintInfo = pi; FpSpread1.SavePdf("c:\\test.pdf");
Dim m As New FarPoint.Web.Spread.PrintMargin(10, 10, 10, 10, 10, 10) Dim pi As New FarPoint.Web.Spread.PrintInfo pi.Margin = m FpSpread1.ActiveSheetView.PrintInfo = pi FpSpread1.SavePdf("c:\test.pdf")