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