FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.DrawingSpace Namespace > PSObject Class : AlignHorz Property |
'Declaration Public Overrides Property AlignHorz As HorizontalAlignment
'Usage 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)
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10