FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.DrawingSpace Namespace > TriangleShape Class > TriangleShape Constructor : TriangleShape Constructor() |
'Declaration Public Function New()
'Usage Dim instance As New TriangleShape()
public TriangleShape()
FarPoint.Win.Spread.DrawingSpace.TriangleShape ts = new FarPoint.Win.Spread.DrawingSpace.TriangleShape();
ts.Parent = fpSpread1;
ts.BackColor = Color.Red;
ts.CanSize = FarPoint.Win.Spread.DrawingSpace.Sizing.HeightAndWidth;
ts.CanMove = FarPoint.Win.Spread.DrawingSpace.Moving.HorizontalAndVertical;
ts.Anchor = 20;
ts.SetBounds(15, 15, 50, 50);
fpSpread1.ActiveSheet.AddShape(ts);
Dim ts As New FarPoint.Win.Spread.DrawingSpace.TriangleShape ts.Parent = FpSpread1 ts.BackColor = Color.Red ts.CanSize = FarPoint.Win.Spread.DrawingSpace.Sizing.HeightAndWidth ts.CanMove = FarPoint.Win.Spread.DrawingSpace.Moving.HorizontalAndVertical ts.Anchor = 20 ts.SetBounds(15, 15, 50, 50) FpSpread1.ActiveSheet.AddShape(ts)
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8