Viewer Constructor (String, LoadOptions, ViewerSettings) |
Initializes new instance of
Viewer class.
Namespace: GroupDocs.ViewerAssembly: GroupDocs.Viewer (in GroupDocs.Viewer.dll) Version: 22.5
Syntaxpublic Viewer(
string filePath,
LoadOptions loadOptions,
ViewerSettings settings
)
Public Sub New (
filePath As String,
loadOptions As LoadOptions,
settings As ViewerSettings
)
public:
Viewer(
String^ filePath,
LoadOptions^ loadOptions,
ViewerSettings^ settings
)
new :
filePath : string *
loadOptions : LoadOptions *
settings : ViewerSettings -> Viewer
Parameters
- filePath
- Type: SystemString
The path to the file to render. - loadOptions
- Type: GroupDocs.Viewer.OptionsLoadOptions
The options that used to open the file. - settings
- Type: GroupDocs.ViewerViewerSettings
The Viewer settings.
Exceptions
Remarks
See Also