Document.GenerateProgramCode
Method: GenerateProgramCode (objDlg as CodeGeneratorDlg)
Only available/enabled in the Enterprise edition. An error is returned, if accessed by any other version.
Description
Generate Java, C++ or C# class files from the XML Schema definitions in your document. A CodeGeneratorDlg object is used to pass information to the code generator. The generation process can be configured to allow user interaction or run without further user input.
Errors
1400 | The document object is no longer valid. |
1407 | An empty file name has been specified. |
1421 | Feature not available in this edition |