Row Class

Row class

Represents a single row in a worksheet.


type Row struct  {
	ptr unsafe.Pointer
}

Constructors

MethodDescription

Methods

MethodDescription
IsNullChecks whether the implementation object is nullptr.
GetCellByIndexGet the cell by specific index in the cells collection of this row.
IsBlankIndicates whether the row contains any data
GetGets the cell.
GetCellOrNullGets the cell or null in the specific index.
IsCollapsedwhether the row is collapsed
SetIsCollapsedwhether the row is collapsed
GetHeightGets and sets the row height in unit of Points.
SetHeightGets and sets the row height in unit of Points.
IsHiddenIndicates whether the row is hidden.
SetIsHiddenIndicates whether the row is hidden.
GetIndexGets the index of this row.
GetGroupLevelGets the group level of the row.
SetGroupLevelGets the group level of the row.
IsHeightMatchedIndicates whether the row height matches current default font setting of the workbook.True of this property also denotes the row height is “automatic” without custom height value set by user.
SetIsHeightMatchedIndicates whether the row height matches current default font setting of the workbook.True of this property also denotes the row height is “automatic” without custom height value set by user.
GetStyleGets the style of this row.
SetStyleSets the style of this row.
GetHasCustomStyleIndicates whether this row has custom style settings(different from the default one inherited from workbook).
CopySettingsCopy settings of row, such as style, height, visibility, …etc.
GetFirstCellGets the first cell object in the row.
GetFirstDataCellGets the first non-blank cell in the row.
GetLastCellGets the last cell object in the row.
GetLastDataCellGets the last non-blank cell in the row.
ApplyStyleApplies formats for a whole row.
Equals_ObjectChecks whether this object refers to the same row with another.
Equals_RowChecks whether this object refers to the same row with another row object.