Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
If you assign an invalid custom number format to Style.setCustom(string) method, then Aspose.Cells for Node.js via C++ will not throw any exception. But if you want Aspose.Cells to check if the assigned custom number format is valid or not, then please set the Workbook.getSettings().setCheckCustomNumberFormat(boolean) method to true.
The following sample code assigns an invalid custom number format to Style.setCustom(string) method. Since we have already set the Workbook.getSettings().setCheckCustomNumberFormat(boolean) method to true, it throws an exception, e.g., Invalid number format. Please read the comments inside the code for more help.
Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.