Spread Windows Forms 12.0 Product Documentation
BurstShape Constructor()
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.DrawingSpace Namespace > BurstShape Class > BurstShape Constructor : BurstShape Constructor()
Creates a new burst shape.
Syntax
'Declaration
 
Public Function New()
'Usage
 
Dim instance As New BurstShape()
public BurstShape()
Example
This example creates a burst shape.
FarPoint.Win.Spread.DrawingSpace.BurstShape burst = new FarPoint.Win.Spread.DrawingSpace.BurstShape();
burst.Parent = fpSpread1;
burst.BackColor = Color.Red;
burst.CanSize = FarPoint.Win.Spread.DrawingSpace.Sizing.HeightAndWidth;
burst.CanMove = FarPoint.Win.Spread.DrawingSpace.Moving.HorizontalAndVertical;
burst.Anchor = 20;
burst.SetBounds(15, 15, 50, 50);
fpSpread1.ActiveSheet.AddShape(burst);
Dim burst As New FarPoint.Win.Spread.DrawingSpace.BurstShape
burst.Parent = FpSpread1
burst.BackColor = Color.Red
burst.CanSize = FarPoint.Win.Spread.DrawingSpace.Sizing.HeightAndWidth
burst.CanMove = FarPoint.Win.Spread.DrawingSpace.Moving.HorizontalAndVertical
burst.Anchor = 20
burst.SetBounds(15, 15, 50, 50)
FpSpread1.ActiveSheet.AddShape(burst)
See Also

Reference

BurstShape Class
BurstShape Members
Overload List