Viewer Constructor (String, LoadOptions) |
Initializes new instance of
Viewer class.
Namespace: GroupDocs.ViewerAssembly: GroupDocs.Viewer (in GroupDocs.Viewer.dll) Version: 22.5
Syntaxpublic Viewer(
string filePath,
LoadOptions loadOptions
)
Public Sub New (
filePath As String,
loadOptions As LoadOptions
)
public:
Viewer(
String^ filePath,
LoadOptions^ loadOptions
)
new :
filePath : string *
loadOptions : LoadOptions -> 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.
Exceptions
Remarks
See Also