public virtual NPromise<bool> LoadFromResourceAsync( NEmbeddedResource resource, TDocFormat documentFormat, TDocLoadSettings loadSettings )
Parameters
- resource
- resource from which to load document
- documentFormat
- The document format to use. If null, the format will be determined automatically.
- loadSettings
- The document load settings. If null, the default load settings for the document format will be used.
Return Value
a promise which resolves to true, if document was successfully loaded, otherwise false