PowerTools SPREAD for ASP.NET 8.0J
Header プロパティ (PrintMargin)

印刷ページのヘッダ余白を取得または設定します。
構文
'Declaration
 
Public Property Header As Integer
public int Header {get; set;}
次のサンプルコードは、印刷の余白を設定します。
FarPoint.Web.Spread.PrintMargin m = new FarPoint.Web.Spread.PrintMargin();
m.Bottom = 10;
m.Footer = 10;
m.Header = 10;
m.Left = 10;
m.Right = 10;
m.Top = 10;
FarPoint.Web.Spread.PrintInfo pi = new FarPoint.Web.Spread.PrintInfo();
pi.Margin = m;
FpSpread1.ActiveSheetView.PrintInfo = pi;
Dim m As New FarPoint.Web.Spread.PrintMargin
m.Bottom = 10
m.Footer = 10
m.Header = 10
m.Left = 10
m.Right = 10
m.Top = 10
Dim pi As New FarPoint.Web.Spread.PrintInfo
pi.Margin = m
FpSpread1.ActiveSheetView.PrintInfo = pi
参照

PrintMargin クラス
PrintMargin メンバ

 

 


© 2003-2015, GrapeCity inc. All rights reserved.