Editor Constructor (String, FuncILoadOptions) |
Initializes new Editor instance with specified input document (as a full file path) with its load options
Namespace: GroupDocs.EditorAssembly: GroupDocs.Editor (in GroupDocs.Editor.dll) Version: 21.3.0.0
Syntaxpublic Editor(
string filePath,
Func<ILoadOptions> loadOptions
)
Public Sub New (
filePath As String,
loadOptions As Func(Of ILoadOptions)
)
public:
Editor(
String^ filePath,
Func<ILoadOptions^>^ loadOptions
)
new :
filePath : string *
loadOptions : Func<ILoadOptions> -> Editor
Parameters
- filePath
- Type: SystemString
Full path to the file. Should not be NULL. Should be valid, and file should exist. - loadOptions
- Type: SystemFuncILoadOptions
Delegate, that should return a document load options. May be NULL and may return null -
in that case document type will be detected automatically and default load options for that type will be applied.
Remarks
See Also