MESCIUS SPREAD for Windows Forms 17.0J
FooterHeight プロパティ

フッタ領域の高さ(ピクセル単位)を取得または設定します。
構文
'Declaration
 
Public Property FooterHeight As Integer
public int FooterHeight {get; set;}

プロパティ値

フッタの高さ(ピクセル単位)を表すInteger
次のサンプルコードは、フッタ領域の高さを設定します。
// Define the printer settings
FarPoint.Win.Spread.PrintInfo printset = new FarPoint.Win.Spread.PrintInfo();
printset.Header = "Print Job For /nFPT Inc.";
printset.Footer = "This is Page /p/nof /pc Pages";
printset.FooterHeight = 10;
// Assign the printer settings to the sheet and print to PDF
printset.PrintToPdf = true;
printset.PdfFileName = "C:\\results.pdf";
fpSpread1.Sheets[0].PrintInfo = printset;
fpSpread1.PrintSheet(0);
Dim printset As New FarPoint.Win.Spread.PrintInfo
printset.Header = "Print Job For /nFPT Inc."
printset.Footer = "This is Page /p/nof /pc Pages"
printset.FooterHeight = 10
' Assign the printer settings to the sheet and print to PDF
printset.PrintToPdf = True
printset.PdfFileName = "C:\results.pdf"
fpSpread1.Sheets(0).PrintInfo = printset
fpSpread1.PrintSheet(0)
参照

PrintInfo クラス
PrintInfo メンバ

 

 


© MESCIUS inc. All rights reserved.