asposecells.api

Class RenameStrategy

Utility class containing constants. Strategy option for duplicate names of columns.
When processing data with headers, some scenarios require the headers to be no duplication for all columns. For example, when exporting data to a datatable and the header is required to be taken as datatable's column name, duplicated values of the header are invalid. For such kind of situations, user may determine how to handle them by specifying this strategy.

Field Summary
const  intEXCEPTION
Throws exception.
const  intDIGIT
Named with digit. Duplicated names will become ...1, ...2, etc.
const  intLETTER
Named with letter.. Duplicated names will become ...A, ...B, etc.
 

    • Field Detail

      • EXCEPTION

        const int EXCEPTION
        Throws exception.
      • DIGIT

        const int DIGIT
        Named with digit. Duplicated names will become ...1, ...2, etc.
      • LETTER

        const int LETTER
        Named with letter.. Duplicated names will become ...A, ...B, etc.