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 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also