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

SignatureDescription
Table()*TableTable returns the owning table.
AddCell(text: string)*CellAddCell appends a cell with the given text.
AddCells(texts: ...string)[]*CellAddCells is a convenience that calls AddCell for each text in order.
Cells()[]*CellCells returns the row’s cells.
CellCount()intCellCount returns the number of cells in this row.
SetHeight(h: float64)*RowSetHeight sets the row’s drawn height in points.
Height()float64Height returns the configured row height.
SetBackground(col: *Color)*RowSetBackground sets a row-level background color.
Background()*ColorBackground returns the row-level background color, or nil if unset.
SetTextStyle(s: TextStyle)*RowSetTextStyle sets a row-level default text style.
TextStyle()*TextStyleTextStyle returns the row-level text style override, or nil if unset.
SetBorder(b: BorderInfo)*RowSetBorder sets a row-level default border.
Border()*BorderInfoBorder returns the row-level border override, or nil if unset.
SetMargin(m: MarginInfo)*RowSetMargin sets a row-level default cell padding.
Margin()*MarginInfoMargin returns the row-level margin override, or nil if unset.

Voir aussi

  • Aspose.PDF — Résultats de l’API d’entreprise
 Français