PowerTools SPREAD for Windows Forms 8.0J
LineStyle 列挙体


罫線のスタイルを設定します。
構文
'Declaration
 
Public Enum LineStyle 
   Inherits System.Enum
'使用法
 
Dim instance As LineStyle
public enum LineStyle : System.Enum 
メンバ
メンバ説明
DashDotダッシュ、点の繰り返しパターンで構成された線を指定します。
DashDotDotダッシュ、点、点の繰り返しパターンで構成された線を指定します。
Dashedダッシュで構成された線を指定します。
Dotted点で構成された線を指定します。
Double1ピクセル幅の2本の実線の間に1ピクセル幅の空白線が挟まれた、3ピクセル幅の線を指定します。
HairDashedよりも間隔が50パーセント狭い破線スタイルの線を指定します。
Insetくぼんだ線を指定します。
None線がないことを指定します。
Raised浮き上がった線を指定します。
Single単線
Thick3ピクセル幅の実線を指定します。
次のサンプルコードは、LineStyle 列挙体を使用します。
GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType textcell = new GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType();
textcell.FocusPosition = GrapeCity.Win.Spread.InputMan.CellType.EditorBaseFocusCursorPosition.MouseLocation;
textcell.GridLine = new GrapeCity.Win.Spread.InputMan.CellType.Line(GrapeCity.Win.Spread.InputMan.CellType.LineStyle.Dashed, Color.DarkGreen);
textcell.LineSpace = 2;
textcell.ScrollBarMode = GrapeCity.Win.Spread.InputMan.CellType.ScrollBarMode.Automatic;
textcell.ScrollBars = ScrollBars.Both;
textcell.Multiline = true;
fpSpread1.Sheets[0].Cells[0, 0].CellType = textcell;
Dim textcell As New GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType()
textcell.FocusPosition = GrapeCity.Win.Spread.InputMan.CellType.EditorBaseFocusCursorPosition.MouseLocation
textcell.GridLine = New GrapeCity.Win.Spread.InputMan.CellType.Line(GrapeCity.Win.Spread.InputMan.CellType.LineStyle.Dashed, Color.DarkGreen)
textcell.LineSpace = 2
textcell.ScrollBarMode = GrapeCity.Win.Spread.InputMan.CellType.ScrollBarMode.Automatic
textcell.ScrollBars = ScrollBars.Both
textcell.Multiline = True
FpSpread1.Sheets(0).Cells(0, 0).CellType = textcell
継承階層

System.Object
   System.ValueType
      System.Enum
         GrapeCity.Win.Spread.InputMan.CellType.LineStyle

参照

GrapeCity.Win.Spread.InputMan.CellType 名前空間

 

 


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