AddButton
Contenido
[
Ocultar
]AddButton(int, int, int, int, string)
Agrega un botón a una celda específica en el índice de columna de fila.
public Button AddButton(int row, int col, int width, int height, string text)
| Parámetro | Escribe | Descripción |
|---|---|---|
| row | Int32 | Índice de fila de la celda. |
| col | Int32 | Índice de columna de la celda. |
| width | Int32 | Ancho del botón. |
| height | Int32 | Altura del botón. |
| text | String | Botón de texto. |
Valor_devuelto
El botón añadido.
Ver también
- class Button
- class CellControlCollection
- espacio de nombres Aspose.Cells.GridDesktop
- asamblea Aspose.Cells.GridDesktop
AddButton(string, int, int, string)
Agrega un botón a una celda específica por nombre de celda.
public Button AddButton(string cellName, int width, int height, string text)
| Parámetro | Escribe | Descripción |
|---|---|---|
| cellName | String | Nombre de la celda de la cuadrícula. |
| width | Int32 | Ancho del botón. |
| height | Int32 | Altura del botón. |
| text | String | Botón de texto. |
Valor_devuelto
El botón añadido.
Ver también
- class Button
- class CellControlCollection
- espacio de nombres Aspose.Cells.GridDesktop
- asamblea Aspose.Cells.GridDesktop
AddButton(int, int, int, int, string, bool)
Agrega un botón a una celda específica en el índice de columna de fila.
public Button AddButton(int row, int col, int width, int height, string text, bool alwaysVisible)
| Parámetro | Escribe | Descripción |
|---|---|---|
| row | Int32 | Índice de fila de la celda. |
| col | Int32 | Índice de columna de la celda. |
| width | Int32 | Ancho del botón. |
| height | Int32 | Altura del botón. |
| text | String | Botón de texto. |
| alwaysVisible | Boolean | Si el botón debe estar siempre visible, solo funciona para el botón de control de celda. |
Valor_devuelto
El botón añadido.
Ver también
- class Button
- class CellControlCollection
- espacio de nombres Aspose.Cells.GridDesktop
- asamblea Aspose.Cells.GridDesktop
AddButton(string, int, int, string, bool)
Agrega un botón a una celda específica por nombre de celda.
public Button AddButton(string cellName, int width, int height, string text, bool alwaysVisible)
| Parámetro | Escribe | Descripción |
|---|---|---|
| cellName | String | Nombre de la celda de la cuadrícula. |
| width | Int32 | Ancho del botón. |
| height | Int32 | Altura del botón. |
| text | String | Botón de texto. |
| alwaysVisible | Boolean | Si el botón debe estar siempre visible, solo funciona para el botón de control de celda. |
Valor_devuelto
El botón añadido.
Ver también
- class Button
- class CellControlCollection
- espacio de nombres Aspose.Cells.GridDesktop
- asamblea Aspose.Cells.GridDesktop