FarPoint.Win.SpreadJ アセンブリ > FarPoint.Win.Spread 名前空間 > StyleInfo クラス : IsVerticalAlignmentSet メソッド |
'Declaration
Public Overridable Function IsVerticalAlignmentSet() As Boolean
public virtual 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()