Roi
Vue de l’ensemble
‘Row’ est un type dans Aspose.PDF FOSS pour Go.
La ligne est une seule ligne dans un tableau.
Ce type fournit 15 méthodes pour travailler avec les objets Row dans les programmes Go. Les méthodologies disponibles comprennent: ‘AddCell’, ‘AdDcells’, Background', ‘Border’, 'CelCount', ’Cells, ‘Height’, ‚Margin , 'SetBACKground et 3 méthode supplémentaires. Tous les membres publics sont accessibles à toute application Go après l’installation de la boîte Aspose.PDF FOSS pour Go .
méthodes
| Signature | Description |
|---|---|
Table() → *Table | Table returns the owning table. |
AddCell(text: string) → *Cell | AddCell appends a cell with the given text. |
AddCells(texts: ...string) → []*Cell | AddCells is a convenience that calls AddCell for each text in order. |
Cells() → []*Cell | Cells returns the row’s cells. |
CellCount() → int | CellCount returns the number of cells in this row. |
SetHeight(h: float64) → *Row | SetHeight sets the row’s drawn height in points. |
Height() → float64 | Height returns the configured row height. |
SetBackground(col: *Color) → *Row | SetBackground sets a row-level background color. |
Background() → *Color | Background returns the row-level background color, or nil if unset. |
SetTextStyle(s: TextStyle) → *Row | SetTextStyle sets a row-level default text style. |
TextStyle() → *TextStyle | TextStyle returns the row-level text style override, or nil if unset. |
SetBorder(b: BorderInfo) → *Row | SetBorder sets a row-level default border. |
Border() → *BorderInfo | Border returns the row-level border override, or nil if unset. |
SetMargin(m: MarginInfo) → *Row | SetMargin sets a row-level default cell padding. |
Margin() → *MarginInfo | Margin returns the row-level margin override, or nil if unset. |
Voir aussi
- Aspose.PDF — Résultats de l’API d’entreprise