[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.CsvSaveOptions.TrimLeadingBlankRowAndColumn

TrimLeadingBlankRowAndColumn Property

TrimLeadingBlankRowAndColumn

Gets or sets whether leading blank rows and columns are trimmed when saving to CSV.

This property indicates whether leading blank rows and columns are trimmed in the same way as Microsoft Excel during CSV export. The default value is true.

Declaration
public bool TrimLeadingBlankRowAndColumn { get; set; }
Public Property TrimLeadingBlankRowAndColumn As Boolean
Examples
CsvSaveOptions options = new CsvSaveOptions();
options.TrimLeadingBlankRowAndColumn = false;
bool trim = options.TrimLeadingBlankRowAndColumn;
workbook.Save("path/to/output.csv", options);