Method of InlitePDFImprintAPI object performs the same functions as an invocation of PDFImprint from the command line. If any error is detected during execution, an exception is raised. See an example here.
void Execute (string ScriptFile, string DataSource, List<string> Vars)
ScriptFile
Location and name of script file. This parameter can include a drive letter and colon, a directory name, a file name, or a combination of these. See Script File Reference.
DataSource
Data source configuration. See /d command line parameter. Use empty string ("") if no data source is specified.
Vars
List of variable definitions. Each string has VarName=VarValue format. See /v command line parameter. Use null if no variables are specified.