autoFirstPageNumber property

bool autoFirstPageNumber
getter/setter pair

Indicates whether to use auto first page number.

final Workbook workbook = Workbook();
final Worksheet sheet = workbook.worksheets[0];
sheet.getRangeByName('A1:M40').text = 'Hello';
sheet.pageSetup.autoFirstPageNumber = false;
final List<int> bytes = workbook.saveAsStream();
saveAsExcel(bytes, 'autoFirstPageNumber.xlsx');
workbook.dispose();

Implementation

late bool autoFirstPageNumber;