Creates a new document in this application.
[Visual Basic 6.0] Sub NewDocument(
[ByVal selectTemplate As Boolean], _
[ByVal templatePath As String] _
) As Empty
[Visual Basic .NET] Public Sub NewDocument ( _ [ByVal selectTemplate As Boolean], _ [ByVal templatePath As String] _ )
[C#] public void NewDocument ( bool selectTemplate, string templatePath );
Optional Values
selectTemplate Specify True if you want the New document dialog to be opened to allow the user to select a template. [Optional]
templatePath is a string representing the path and filename of the template to base the new document on if selectTemplate is False. [Optional]
If selectTemplate is True, the New document dialog is displayed.
If templatePath is not specified, the New document dialog is displayed regardless of the value of selectTemplate.
Note, this method does not work in ArcCatalog.