PowerTools SPREAD for Windows Forms 8.0J
PrintOrientation 列挙体


シートを印刷するときのページの向きを表します。
構文
'Declaration
 
Public Enum PrintOrientation 
   Inherits System.Enum
'使用法
 
Dim instance As PrintOrientation
public enum PrintOrientation : System.Enum 
メンバ
メンバ説明
Auto[0]現在のプリンタ設定を使用
Landscape[2]横向きでシートを印刷
Portrait[1]縦向きでシートを印刷
解説

印刷の詳細については、「印刷」を参照してください。

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
継承階層

System.Object
   System.ValueType
      System.Enum
         FarPoint.Win.Spread.PrintOrientation

参照

FarPoint.Win.Spread 名前空間
Orientation プロパティ (PrintInfo クラス)

開発者ガイド

印刷オプション

 

 


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