FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView Class > AddShape Method : AddShape(PSShape,Int32,Int32) Method |
'Declaration Public Overloads Overridable Function AddShape( _ ByVal shape As PSShape, _ ByVal row As Integer, _ ByVal column As Integer _ ) As Integer
FarPoint.Win.Spread.DrawingSpace.ArrowShape arrow = new FarPoint.Win.Spread.DrawingSpace.ArrowShape();
arrow.Parent = fpSpread1;
fpSpread1.ActiveSheet.AddShape(arrow, 3, 2);
Dim arrow As New FarPoint.Win.Spread.DrawingSpace.ArrowShape arrow.Parent = FpSpread1 FpSpread1.ActiveSheet.AddShape(arrow, 3, 2)
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8