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

Return value

Type: Microsoft.Office.Web.Conversion.ViewerInterface.ServerResult

See also

Reference

IViewerServer interface

IViewerServer members

Microsoft.Office.Web.Conversion.ViewerInterface namespace