FarPoint.Win.SpreadJ アセンブリ > FarPoint.Win.Spread.DrawingSpace 名前空間 > PSObject クラス : AlignVert プロパティ |
'Declaration Public Overrides Property AlignVert As VerticalAlignment
'使用法 Dim instance As PSObject Dim value As VerticalAlignment instance.AlignVert = value value = instance.AlignVert
public override VerticalAlignment AlignVert {get; set;}
fpSpread1.Sheets[0].Cells[1, 3].Text = "Test"; FarPoint.Win.Spread.DrawingSpace.RectangleShape a = new FarPoint.Win.Spread.DrawingSpace.RectangleShape(); a.AlignHorz = FarPoint.Win.HorizontalAlignment.Right; a.AlignVert = FarPoint.Win.VerticalAlignment.Bottom; a.BackColor = Color.Blue; a.Text = "Test"; a.CanRenderText = true; fpSpread1.ActiveSheet.AddShape(a, 1, 1);
FpSpread1.Sheets(0).Cells(1, 3).Text = "Test" Dim a As New FarPoint.Win.Spread.DrawingSpace.RectangleShape() a.AlignHorz = FarPoint.Win.HorizontalAlignment.Right a.AlignVert = FarPoint.Win.VerticalAlignment.Bottom a.BackColor = Color.Yellow a.Text = "Test" a.CanRenderText = True FpSpread1.ActiveSheet.AddShape(a, 1, 1)