Hyperlink.CreateNewDocument Method
Creates a new Web presentation associated with the specified hyperlink.
Namespace: Microsoft.Office.Interop.PowerPoint
Assembly: Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)
Syntax
'Declaration
Sub CreateNewDocument ( _
FileName As String, _
EditNow As MsoTriState, _
Overwrite As MsoTriState _
)
'Usage
Dim instance As Hyperlink
Dim FileName As String
Dim EditNow As MsoTriState
Dim Overwrite As MsoTriState
instance.CreateNewDocument(FileName, _
EditNow, Overwrite)
void CreateNewDocument(
string FileName,
MsoTriState EditNow,
MsoTriState Overwrite
)
Parameters
- FileName
Type: System.String
The path and file name of the document.
- EditNow
Type: Microsoft.Office.Core.MsoTriState
Determines whether the document is opened immediately in its associated editor.
- Overwrite
Type: Microsoft.Office.Core.MsoTriState
Determines whether any existing file of the same name in the same folder is overwritten.