IViewerServer.OpenDocument method
Namespace: Microsoft.Office.Web.Conversion.ViewerInterface
Assembly: Microsoft.Office.Server.Conversion.ViewerInterface (in Microsoft.Office.Server.Conversion.ViewerInterface.dll)
Syntax
'Declaration
Function OpenDocument ( _
outputFormat As ViewFormat, _
sourceFile As String _
) As ServerResult
'Usage
Dim instance As IViewerServer
Dim outputFormat As ViewFormat
Dim sourceFile As String
Dim returnValue As ServerResult
returnValue = instance.OpenDocument(outputFormat, _
sourceFile)
ServerResult OpenDocument(
ViewFormat outputFormat,
string sourceFile
)
Parameters
- outputFormat
Type: Microsoft.Office.Web.Conversion.ViewerInterface.ViewFormat
- sourceFile
Type: System.String
Return value
Type: Microsoft.Office.Web.Conversion.ViewerInterface.ServerResult