Row

Overview

Row is a class in Aspose.PDF FOSS for .NET.

A row of a Table: holds the row’s Cells and the height, border, background, padding and text defaults that apply to them.

This class declares 2 methods for Row objects in .NET programs. Available methods include: Clone, Row. Public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package. Properties: BackgroundColor, BackgroundIsBand, Border, Cells, DefaultCellBorder, DefaultCellPadding, and 6 more.

Properties

NameTypeAccessDescription
CellsCellsRead/WriteThe cells in this row.
BorderBorderInfo?Read/WriteRow border.
DefaultCellBorderBorderInfo?Read/WriteDefault cell border for cells in this row.
FixedRowHeightdoubleRead/WriteFixed row height.
MinRowHeightdoubleRead/WriteMinimum row height.
BackgroundColorColor?Read/WriteRow background color.
BackgroundIsBandboolRead/WriteThe row’s BackgroundColor paints the row as ONE band – the whole row box, from the grid line above to the grid line below and across every column, under the rules – instead of one fill per cell inside the rules.
DefaultCellTextStateTextState?Read/WriteDefault text state for cells in this row.
DefaultCellPaddingMarginInfo?Read/WriteDefault cell padding for cells in this row.
VerticalAlignmentVerticalAlignmentRead/WriteVertical alignment applied to each cell’s content.
IsInNewPageboolRead/WriteIndicates whether this row will be rendered on a new page during multi-page table layout.
IsRowBrokenboolRead/WriteWhether this row is allowed to break across pages when its cells don’t fit the remaining space on the current page.

Methods

SignatureDescription
Row()Creates an empty row with no cells; usually obtained from Table.Rows.Add() instead.
Clone()Shallow copy: a new Row whose cells reference the same Cell instances and whose scalar properties carry the same values.

See Also

 English