Document.GenerateSchemaDocumentation
Method: GenerateSchemaDocumentation (objDlg as SchemaDocumentationDlg)
Description
Generate documentation for a schema definition file in HTML, MS-Word, or RTF format. The parameter objDlg is used to parameterize the generation process. Use Dialogs.SchemaDocumentationDlg to get an initialized set of options. As a minimum, you will need to set the property SchemaDocumentationDlg.OutputFile before starting the generation process. Note that this functionality is limited to Schema View only. See Document.CurrentViewMode and SPYViewModes.
Errors
| 1400 | The document object is no longer valid. | 
| 1407 | Invalid parameters have been passed or an empty file name has been specified as output target. | 
| 1417 | The document is not opened in schema view, maybe it is not an '.xsd' file. | 
| 1421 | Feature is not available in this edition. | 
| 1422 | Error during generation |