Row

Overview

Row is a type in Aspose.PDF FOSS for Go.

Row is a single row within a Table.

This type provides 15 methods for working with Row objects in Go programs. Available methods include: AddCell, AddCells, Background, Border, CellCount, Cells, Height, Margin, SetBackground, SetBorder, SetHeight, SetMargin, and 3 additional methods. All public members are accessible to any Go application after installing the Aspose.PDF FOSS for Go package.

Methods

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.

See Also

 English