This topic has not yet been rated - Rate this topic

Hyperlink.CreateNewDocument Method

Creates a new document linked to the specified hyperlink.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
void CreateNewDocument(
	string FileName,
	bool EditNow,
	bool Overwrite
)

Parameters

FileName
Type: System.String
Required String. The file name of the specified document.
EditNow
Type: System.Boolean
Required Boolean. True to have the specified document open immediately in its associated editing environment. The default value is True.
Overwrite
Type: System.Boolean
Required Boolean. True to overwrite any existing file of the same name in the same folder. False if any existing file of the same name is preserved and the FileName argument specifies a new file name. The default value is False.
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.