Document.CreateSchemaDiagram
Method: CreateSchemaDiagram (nKind as SPYSchemaDefKind, strName as String, strFile as String)
Return Value
None.
Description
The method creates a diagram of the schema type strName of kind nKind and saves the output file into strFile. Note that this functionality is limited to Schema View only. See Document.CurrentViewMode. and SPYViewModes.
Errors
1400 | The object is no longer valid. |
1414 | Failed to save diagram. |
1415 | Invalid schema definition type specified. |