TxtSaveOptions.TrimLeadingBlankRowAndColumn

TxtSaveOptions.TrimLeadingBlankRowAndColumn property

Indicates whether leading blank rows and columns should be trimmed like what ms excel does. Default is true.

public bool TrimLeadingBlankRowAndColumn { get; set; }

Remarks

Same with the rule in ms excel, a row/column will not be taken as blank if it has custom style, even if it contains no cell data. When saving with LightCells mode, this option takes no effect. User should control the output range by the implementation of LightCellsDataProvider or by speicifing ExportArea

See Also