ExcelFile.SetRowFormat Method
Overloads
- ExcelFile.SetRowFormat(Int32, Int32)
- ExcelFile.SetRowFormat(Int32, Int32, Boolean)
- ExcelFile.SetRowFormat(Int32, TFlxFormat, TFlxApplyFormat, Boolean)
ExcelFile.SetRowFormat(Int32, Int32)
Sets the XF format for the entire row.
Syntax
Namespace: FlexCel.Core
public void SetRowFormat(Int32 row, Int32 XF)
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
row | Int32 | Row index (1-based) | |
XF | Int32 | XF format. |
See also
ExcelFile.SetRowFormat(Int32, Int32, Boolean)
Sets the XF format for the entire row.
Syntax
Namespace: FlexCel.Core
public abstract void SetRowFormat(Int32 row, Int32 XF, Boolean resetRow)
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
row | Int32 | Row index (1-based) | |
XF | Int32 | XF format. | |
resetRow | Boolean | When true, all existing cells on the row will be reset to this format. This is the standard Excel behavior and the recommended option. If you don't care about existing cells, you can speed up this method by setting it to false. |
See also
ExcelFile.SetRowFormat(Int32, TFlxFormat, TFlxApplyFormat, Boolean)
Sets the format characteristics specified in ApplyFormat for the entire row.
Syntax
Namespace: FlexCel.Core
public abstract void SetRowFormat(Int32 row, TFlxFormat newFormat, TFlxApplyFormat applyNewFormat, Boolean resetRow)
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
row | Int32 | Row index (1-based) | |
newFormat | TFlxFormat | Format to apply. | |
applyNewFormat | TFlxApplyFormat | Indicates which properties of newFormat will be applied to the cells. | |
resetRow | Boolean | When true, all existing cells on the row will be reset to this format. This is the standard Excel behavior and the recommended option. If you don't care about existing cells, you can speed up this method by setting it to false. |