FarPoint.Win.Spread.DrawingSpace.TextShape ts = new FarPoint.Win.Spread.DrawingSpace.TextShape(); ts.Parent = fpSpread1; ts.Text = "This is the text!" ts.SetBounds(10, 10, 450, 450); fpSpread1.ActiveSheet.AddShape(ts);
Dim ts As New FarPoint.Win.Spread.DrawingSpace.TextShape() ts.Parent = FpSpread1 ts.Text = "This is the text!" ts.SetBounds(10, 10, 450, 450) FpSpread1.ActiveSheet.AddShape(ts)