Spread Windows Forms 12.0 Product Documentation
ThoughtBalloonShape Constructor()
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.DrawingSpace Namespace > ThoughtBalloonShape Class > ThoughtBalloonShape Constructor : ThoughtBalloonShape Constructor()
Creates a new thought balloon shape.
Syntax
'Declaration
 
Public Function New()
'Usage
 
Dim instance As New ThoughtBalloonShape()
public ThoughtBalloonShape()
Example
This example creates a thought balloon shape.
FarPoint.Win.Spread.DrawingSpace.ThoughtBalloonShape tb = new FarPoint.Win.Spread.DrawingSpace.ThoughtBalloonShape();
tb.Parent = fpSpread1;
tb.BackColor = Color.Red;
tb.CanSize = FarPoint.Win.Spread.DrawingSpace.Sizing.HeightAndWidth;
tb.CanMove = FarPoint.Win.Spread.DrawingSpace.Moving.HorizontalAndVertical;
tb.Anchor = 40;
tb.SetBounds(25, 25, 50, 50);

fpSpread1.ActiveSheet.AddShape(tb);
Dim tb As New FarPoint.Win.Spread.DrawingSpace.ThoughtBalloonShape
tb.Parent = FpSpread1
tb.BackColor = Color.Red
tb.CanSize = FarPoint.Win.Spread.DrawingSpace.Sizing.HeightAndWidth
tb.CanMove = FarPoint.Win.Spread.DrawingSpace.Moving.HorizontalAndVertical
tb.Anchor = 40
tb.SetBounds(25, 25, 50, 50)

FpSpread1.ActiveSheet.AddShape(tb)
See Also

Reference

ThoughtBalloonShape Class
ThoughtBalloonShape Members
Overload List