Table of Contents

TXlsFile.SetRowFormat Method

Overloads

TXlsFile.SetRowFormat(Integer, Integer, Boolean)

Sets the XF format for the entire row.

Syntax

Unit: FlexCel.XlsAdapter

procedure TXlsFile.SetRowFormat(const row: Integer; const XF: Integer; const resetRow: Boolean); overload; override;

Parameters

<-> Parameter Type Description
const row Integer Row index (1-based)
const XF Integer XF format.
const 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

TXlsFile.SetRowFormat(Integer, TFlxFormat, TFlxApplyFormat, Boolean)

Sets the format characteristics specified in ApplyFormat for the entire row.

Syntax

Unit: FlexCel.XlsAdapter

procedure TXlsFile.SetRowFormat(const row: Integer; const newFormat: TFlxFormat; const applyNewFormat: TFlxApplyFormat; const resetRow: Boolean); overload; override;

Parameters

<-> Parameter Type Description
const row Integer Row index (1-based)
const newFormat TFlxFormat Format to apply.
const applyNewFormat TFlxApplyFormat Indicates which properties of newFormat will be applied to the cells.
const 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