FarPoint.Win.Spread アセンブリ > FarPoint.Win.Spread 名前空間 > SheetView クラス > AddShape メソッド : AddShape(PSShape,Int32,Int32,Int32,Int32,Int32,Int32,Int32,Int32,Boolean) メソッド |
'宣言
Public Overloads Overridable Function AddShape( _ ByVal shape As PSShape, _ ByVal fromRow As Integer, _ ByVal fromColumn As Integer, _ ByVal fromRowPixelOffset As Integer, _ ByVal fromColumnPixelOffset As Integer, _ ByVal toRow As Integer, _ ByVal toColumn As Integer, _ ByVal toRowPixelOffset As Integer, _ ByVal toColumnPixelOffset As Integer, _ ByVal attachedToCell As Boolean _ ) As Integer
public virtual int AddShape( PSShape shape, int fromRow, int fromColumn, int fromRowPixelOffset, int fromColumnPixelOffset, int toRow, int toColumn, int toRowPixelOffset, int toColumnPixelOffset, bool attachedToCell )
FarPoint.Win.Spread.DrawingSpace.ArrowShape arrow = new FarPoint.Win.Spread.DrawingSpace.ArrowShape(); arrow.Parent = fpSpread1; fpSpread1.ActiveSheet.AddShape(arrow, 2, 2, 3, 3, 4, 4, 6, 6, false);
Dim arrow As New FarPoint.Win.Spread.DrawingSpace.ArrowShape() arrow.Parent = fpSpread1 fpSpread1.ActiveSheet.AddShape(arrow, 2, 2, 3, 3, 4, 4, 6, 6, False)