Viewer Constructor (String, LoadOptions, ViewerSettings)
Initializes new instance of Viewer class.

Namespace: GroupDocs.Viewer
Assembly: GroupDocs.Viewer (in GroupDocs.Viewer.dll) Version: 20.9
Syntax
public Viewer(
	string filePath,
	LoadOptions loadOptions,
	ViewerSettings settings
)

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
ExceptionCondition
ArgumentExceptionThrown when filePath is null or empty.
ArgumentNullExceptionThrown when loadOptions is null.
ArgumentNullExceptionThrown when settings is null.
Remarks
Learn more
See Also