FarPoint.Win.SpreadJ アセンブリ > FarPoint.Win.Spread.DrawingSpace 名前空間 > PSObject クラス : AlignHorz プロパティ |
'Declaration Public Overrides Property AlignHorz As HorizontalAlignment
'使用法 Dim instance As PSObject Dim value As HorizontalAlignment instance.AlignHorz = value value = instance.AlignHorz
public override HorizontalAlignment AlignHorz {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)