The Options tree specifies all import options for the impJCAMP X-Function.
Example: Options.sparklines:=0 // Do not add sparklines
The Names branch of the Options tree specifies how to name the worksheet and workbook.
Syntax: Options.Names.Treenode:= <value>
//Rename worksheet with partial filename :
From Origin 8.6, minus value is supported in FNameToBkFrom and FNameToBkTo to count the end of the name from the last character of the file name. It can be used to trim the file extension when you rename book. For example, if you want to import a JCAMP-DX Version 6 file named sample.dat, you can specify the setting as below to trim the extension ".jcm" when renaming the workbook name: