AddRectangle
ShapeCollection.AddRectangle method
Agrega un RectangleShape a la hoja de trabajo.
public RectangleShape AddRectangle(int upperLeftRow, int top, int upperLeftColumn, int left,
int height, int width)
| Parámetro | Escribe | Descripción |
|---|---|---|
| upperLeftRow | Int32 | Índice de la fila superior izquierda. |
| top | Int32 | Representa el desplazamiento vertical de RectangleShape desde su fila izquierda, en unidades de píxel. |
| upperLeftColumn | Int32 | Índice de la columna superior izquierda. |
| left | Int32 | Representa el desplazamiento horizontal de RectangleShape desde su columna izquierda, en unidades de píxel. |
| height | Int32 | Representa la altura de RectangleShape, en unidades de píxel. |
| width | Int32 | Representa el ancho de RectangleShape, en unidades de píxel. |
Valor_devuelto
Un objeto RectangleShape.
Ejemplos
[C#]
// agregar un rectángulo
RectangleShape rectangleShape = shapes.AddRectangle(2, 0, 2, 0, 130, 130);
Ver también
- class RectangleShape
- class ShapeCollection
- espacio de nombres Aspose.Cells.Drawing
- asamblea Aspose.Cells