FarPoint.Win.SpreadJ アセンブリ > FarPoint.Win.Spread.DrawingSpace 名前空間 > ArcShape クラス > ArcShape コンストラクタ : ArcShape コンストラクタ() |
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)