FarPoint.Win.Spread アセンブリ > FarPoint.Win.Spread 名前空間 > StyleInfo クラス : IsHorizontalAlignmentSet メソッド |
'Declaration
Public Overrides Function IsHorizontalAlignmentSet() As Boolean
public override bool IsHorizontalAlignmentSet()
HorizontalAlignmentプロパティが設定されているかどうかを取得します。
FarPoint.Win.Spread.StyleInfo si = new FarPoint.Win.Spread.StyleInfo(); bool b; si.HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right; fpSpread1.ActiveSheet.DefaultStyle = si; b = si.IsHorizontalAlignmentSet(); label1.Text = b.ToString();
Dim si As New FarPoint.Win.Spread.StyleInfo Dim b As Boolean si.HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right fpSpread1.ActiveSheet.DefaultStyle = si b = si.IsHorizontalAlignmentSet() Label1.Text = b.ToString()