PowerTools SPREAD for Windows Forms 10.0J
PrintInfo プロパティ


シートの印刷時の動作を定義するPrintInfoオブジェクトを 取得または設定します。
構文
'Declaration
 
Public Property PrintInfo As PrintInfo
'使用法
 
Dim instance As SheetView
Dim value As PrintInfo
 
instance.PrintInfo = value
 
value = instance.PrintInfo
public PrintInfo PrintInfo {get; set;}

プロパティ値

印刷情報を含むPrintInfoオブジェクト
次のサンプルコードは、アクティブシートのPrintInfoを設定します。
FarPoint.Win.Spread.PrintMargin pm = new FarPoint.Win.Spread.PrintMargin(5, 5, 5, 5, 5, 5);
FarPoint.Win.Spread.PrintInfo pi = new FarPoint.Win.Spread.PrintInfo("Header", "", "", pm, FarPoint.Win.Spread.PrintOrientation.Landscape,
FarPoint.Win.Spread.PrintPageOrder.Auto, 
true, true, true, true, true, true, true, FarPoint.Win.Spread.PrintType.CurrentPage, 0, 2, 0, 2, 1, 1, true, true, true, 2,
false, "", 1, true);
fpSpread1.ActiveSheet.ColumnCount = 5;
fpSpread1.ActiveSheet.RowCount = 5;
fpSpread1.ActiveSheet.PrintInfo = pi;
Dim pm As New FarPoint.Win.Spread.PrintMargin(5, 5, 5, 5, 5, 5)
Dim pi As New FarPoint.Win.Spread.PrintInfo("Header", "", "", pm, FarPoint.Win.Spread.PrintOrientation.Landscape, FarPoint.Win.Spread.PrintPageOrder.Auto,
True, True, True, True, True, True, True, FarPoint.Win.Spread.PrintType.CurrentPage, 0, 2, 0, 2, 1, 1, True, True, True, 2,
False, "", 1, True)
FpSpread1.ActiveSheet.ColumnCount = 5
FpSpread1.ActiveSheet.RowCount = 5
FpSpread1.ActiveSheet.PrintInfo = pi
参照

SheetView クラス
SheetView メンバ
PrintInfo クラス

開発者ガイド

印刷

 

 


© 2004-2017, GrapeCity inc. All rights reserved.