IApplicationOpen |
Opens a document from a FileStream
Namespace: TSD.API.Remoting
Assembly: TSD.API.Remoting (in TSD.API.Remoting.dll) Version: 23.1.0.154
Syntax
Task<IDocument?> OpenDocumentAsync( FileStream? file, bool allowUserInteraction, CancellationToken cancellationToken = default )
Parameters
- file FileStream
- The FileStream
- allowUserInteraction Boolean
- A value indicating whether user interaction is allowed
- cancellationToken CancellationToken (Optional)
- The optional cancellation token
Return Value
TaskIDocumentTSD.API.Remoting.Document
See Also