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

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

Parameters

filePath
Type: SystemString
The path to the file to render.
settings
Type: GroupDocs.ViewerViewerSettings
The Viewer settings.
Exceptions
ExceptionCondition
ArgumentExceptionThrown when filePath is null or empty.
ArgumentNullExceptionThrown when settings is null.
Remarks
Learn more
See Also