GrapeCity SPREAD for Windows Forms 11.0J
PrintMargin コンストラクタ(Int32,Int32,Int32,Int32,Int32,Int32)


左余白のサイズ(1/100インチ単位)
上余白のサイズ(1/100インチ単位)
右余白のサイズ(1/100インチ単位)
下マージンのサイズ(ピクセル単位)
ヘッダ余白のサイズ(1/100インチ単位)
フッタ余白のサイズ(1/100インチ単位)
指定したマージンを持つ新しいPrintMarginオブジェクトを作成します。
構文
'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 _
)
'使用法
 
Dim left As Integer
Dim top As Integer
Dim right As Integer
Dim bottom As Integer
Dim header As Integer
Dim footer As Integer
 
Dim instance As New PrintMargin(left, top, right, bottom, header, footer)
public PrintMargin( 
   int left,
   int top,
   int right,
   int bottom,
   int header,
   int footer
)

パラメータ

left
左余白のサイズ(1/100インチ単位)
top
上余白のサイズ(1/100インチ単位)
right
右余白のサイズ(1/100インチ単位)
bottom
下マージンのサイズ(ピクセル単位)
header
ヘッダ余白のサイズ(1/100インチ単位)
footer
フッタ余白のサイズ(1/100インチ単位)
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
参照

PrintMargin クラス
PrintMargin メンバ
オーバーロード一覧

 

 


© 2004-2018, GrapeCity Inc. All rights reserved.