FarPoint.Win.SpreadJ アセンブリ > FarPoint.Win.Spread 名前空間 > PrintMargin クラス > PrintMargin コンストラクタ : PrintMargin コンストラクタ(Int32,Int32,Int32,Int32,Int32,Int32) |
'Declaration Public Function New( _ ByVal left As Integer, _ ByVal top As Integer, _ ByVal right As Integer, _ ByVal bottom As Integer, _ ByVal header As Integer, _ ByVal footer As Integer _ )
FarPoint.Win.Spread.PrintInfo pi = new FarPoint.Win.Spread.PrintInfo(); FarPoint.Win.Spread.PrintMargin pm = new FarPoint.Win.Spread.PrintMargin(75, 50, 75, 50, 50, 50); pi.Margin = pm; fpSpread1.ActiveSheet.PrintInfo = pi;
Dim pi As New FarPoint.Win.Spread.PrintInfo Dim pm As New FarPoint.Win.Spread.PrintMargin(75, 50, 75, 50, 50, 50) pi.Margin = pm FpSpread1.ActiveSheet.PrintInfo = pi