FarPoint.Win.SpreadJ アセンブリ > FarPoint.Win.Spread.DrawingSpace 名前空間 > FourWayArrowShape クラス > FourWayArrowShape コンストラクタ : FourWayArrowShape コンストラクタ() |
'Declaration Public Function New()
'使用法 Dim instance As New FourWayArrowShape()
public FourWayArrowShape()
FarPoint.Win.Spread.DrawingSpace.FourWayArrowShape arrow = new FarPoint.Win.Spread.DrawingSpace.FourWayArrowShape();
arrow.Parent = fpSpread1;
arrow.BackColor = Color.Red;
arrow.CanSize = FarPoint.Win.Spread.DrawingSpace.Sizing.HeightAndWidth;
arrow.CanMove = FarPoint.Win.Spread.DrawingSpace.Moving.HorizontalAndVertical;
arrow.Anchor = 20;
arrow.SetBounds(15, 15, 50, 50);
fpSpread1.ActiveSheet.AddShape(arrow);
Dim arrow As New FarPoint.Win.Spread.DrawingSpace.FourWayArrowShape arrow.Parent = FpSpread1 arrow.BackColor = Color.Red arrow.CanSize = FarPoint.Win.Spread.DrawingSpace.Sizing.HeightAndWidth arrow.CanMove = FarPoint.Win.Spread.DrawingSpace.Moving.HorizontalAndVertical arrow.Anchor = 20 arrow.SetBounds(15, 15, 50, 50) FpSpread1.ActiveSheet.AddShape(arrow)