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)