Spread Windows Forms 11.0 Product Documentation
ArcShape Constructor()
Example 


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

Reference

ArcShape Class
ArcShape Members
Overload List