Adds a shape to the drawing container for the sheet at the specified row and column.
Syntax
Parameters
- shape
- Shape to add
- row
- Row index at which to add shape
- column
- Column index at which to add shape
Return Value
Integer index of the shape in the list of shapes
Remarks
Example
This example adds a shape to the sheet at the specified row and column.
C# | Copy Code |
---|
FarPoint.Win.Spread.DrawingSpace.ArrowShape arrow = new FarPoint.Win.Spread.DrawingSpace.ArrowShape();
arrow.Parent = fpSpread1;
fpSpread1.ActiveSheet.AddShape(arrow, 3, 2);
|
Visual Basic | Copy Code |
---|
Dim arrow As New FarPoint.Win.Spread.DrawingSpace.ArrowShape
arrow.Parent = FpSpread1
FpSpread1.ActiveSheet.AddShape(arrow, 3, 2) |
Requirements
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8
See Also