AddWordArt
ShapeCollection.AddWordArt method
Aggiunge WordArt preimpostato da Excel 2007.s
public Shape AddWordArt(PresetWordArtStyle style, string text, int upperLeftRow, int top,
int upperLeftColumn, int left, int height, int width)
| Parametro | Tipo | Descrizione |
|---|---|---|
| style | PresetWordArtStyle | Lo stile WordArt predefinito. |
| text | String | Il testo. |
| upperLeftRow | Int32 | Indice della riga in alto a sinistra. |
| top | Int32 | Rappresenta l’offset verticale della forma dalla riga sinistra, in unità di pixel. |
| upperLeftColumn | Int32 | Indice della colonna in alto a sinistra. |
| left | Int32 | Rappresenta l’offset orizzontale della forma dalla colonna di sinistra, in unità di pixel. |
| height | Int32 | Rappresenta l’altezza della forma, in unità di pixel. |
| width | Int32 | Rappresenta la larghezza della forma, in unità di pixel. |
Esempi
[C#]
//aggiungi una WordArt
Shape wordArt2 = shapes.AddWordArt(PresetWordArtStyle.WordArtStyle1, "WordArt", 3, 0, 3, 0, 50, 200);
Guarda anche
- class Shape
- enum PresetWordArtStyle
- class ShapeCollection
- spazio dei nomi Aspose.Cells.Drawing
- assemblea Aspose.Cells