MESCIUS SPREAD for Windows Forms 15.0J
HorizontalAlignment プロパティ (GroupInfo)
使用例 

グループ化情報の水平方向の配置を取得または設定します。
構文
'宣言
 
Public Property HorizontalAlignment As CellHorizontalAlignment
public CellHorizontalAlignment HorizontalAlignment {get; set;}

プロパティ値

セル内容の水平方向の配置を指定する CellHorizontalAlignment 設定
使用例
fpSpread1.BorderCollapse = FarPoint.Win.Spread.BorderCollapse.Separate;
fpSpread1.AllowColumnMove = true;
fpSpread1.ActiveSheet.GroupBarInfo.Visible = true;
fpSpread1.ActiveSheet.AllowGroup = true;

FarPoint.Win.Spread.GroupInfo gi = new FarPoint.Win.Spread.GroupInfo();

gi.HorizontalAlignment = CellHorizontalAlignment.Left;
gi.VerticalAlignment = CellVerticalAlignment.Top;

fpSpread1.ActiveSheet.GroupInfos.Add(gi);
FpSpread1.BorderCollapse = FarPoint.Win.Spread.BorderCollapse.Separate
FpSpread1.AllowColumnMove = True
FpSpread1.ActiveSheet.GroupBarInfo.Visible = True
FpSpread1.ActiveSheet.AllowGroup = True

Dim gi As New FarPoint.Win.Spread.GroupInfo
gi.HorizontalAlignment = CellHorizontalAlignment.Left
gi.VerticalAlignment = CellVerticalAlignment.Top

FpSpread1.ActiveSheet.GroupInfos.Add(gi)
参照

GroupInfo クラス
GroupInfo メンバ

 

 


© MESCIUS inc. All rights reserved.